Class: Aws::CloudFront::Types::KeyGroupConfig

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

Overview

Note:

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

{
  name: "string", # required
  items: ["string"], # required
  comment: "string",
}

A key group configuration.

A key group contains a list of public keys that you can use with [CloudFront signed URLs and signed cookies].

[1]: docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#commentString

A comment to describe the key group. The comment cannot be longer than 128 characters.

Returns:

  • (String)

7935
7936
7937
7938
7939
7940
7941
# File 'lib/aws-sdk-cloudfront/types.rb', line 7935

class KeyGroupConfig < Struct.new(
  :name,
  :items,
  :comment)
  SENSITIVE = []
  include Aws::Structure
end

#itemsArray<String>

A list of the identifiers of the public keys in the key group.

Returns:

  • (Array<String>)

7935
7936
7937
7938
7939
7940
7941
# File 'lib/aws-sdk-cloudfront/types.rb', line 7935

class KeyGroupConfig < Struct.new(
  :name,
  :items,
  :comment)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

A name to identify the key group.

Returns:

  • (String)

7935
7936
7937
7938
7939
7940
7941
# File 'lib/aws-sdk-cloudfront/types.rb', line 7935

class KeyGroupConfig < Struct.new(
  :name,
  :items,
  :comment)
  SENSITIVE = []
  include Aws::Structure
end