Documentation ¶ Index ¶ type Policy func New(client client.ConfigProvider, keyID string) *Policy func (p *Policy) Statement(t *testing.T, doc *policy.Document) *statement.Statement Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Policy ¶ type Policy struct { // contains filtered or unexported fields } Policy contains the necessary properties for testing *policy.Document objects func New ¶ func New(client client.ConfigProvider, keyID string) *Policy New returns a new *Policy func (*Policy) Statement ¶ func (p *Policy) Statement(t *testing.T, doc *policy.Document) *statement.Statement Statement returns a newly instantiated *statement.Statement object this is used for filtering all of the statements in all of the policies related to the kms key. If doc is nil, the policies will be queried from AWS Source Files ¶ View all Source files policy.go Click to show internal directories. Click to hide internal directories.