Class: Aws::MediaStore::Types::PutContainerPolicyInput

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-mediastore/types.rb

Overview

Note:

When making an API call, you may pass PutContainerPolicyInput data as a hash:

{
  container_name: "ContainerName", # required
  policy: "ContainerPolicy", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#container_nameString

The name of the container.

Returns:

  • (String)


453
454
455
456
457
# File 'lib/aws-sdk-mediastore/types.rb', line 453

class PutContainerPolicyInput < Struct.new(
  :container_name,
  :policy)
  include Aws::Structure
end

#policyString

The contents of the policy, which includes the following:

  • One ‘Version` tag

  • One ‘Statement` tag that contains the standard tags for the policy.

Returns:

  • (String)


453
454
455
456
457
# File 'lib/aws-sdk-mediastore/types.rb', line 453

class PutContainerPolicyInput < Struct.new(
  :container_name,
  :policy)
  include Aws::Structure
end