Class: Aws::CloudFront::Types::PublicKeyConfig

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 PublicKeyConfig data as a hash:

{
  caller_reference: "string", # required
  name: "string", # required
  encoded_key: "string", # required
  comment: "string",
}

Configuration information about a public key that you can use with [signed URLs and signed cookies], or with [field-level encryption].

[1]: docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html [2]: docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#caller_referenceString

A string included in the request to help make sure that the request can’t be replayed.

Returns:

  • (String)

10527
10528
10529
10530
10531
10532
10533
10534
# File 'lib/aws-sdk-cloudfront/types.rb', line 10527

class PublicKeyConfig < Struct.new(
  :caller_reference,
  :name,
  :encoded_key,
  :comment)
  SENSITIVE = []
  include Aws::Structure
end

#commentString

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

Returns:

  • (String)

10527
10528
10529
10530
10531
10532
10533
10534
# File 'lib/aws-sdk-cloudfront/types.rb', line 10527

class PublicKeyConfig < Struct.new(
  :caller_reference,
  :name,
  :encoded_key,
  :comment)
  SENSITIVE = []
  include Aws::Structure
end

#encoded_keyString

Returns:

  • (String)

10527
10528
10529
10530
10531
10532
10533
10534
# File 'lib/aws-sdk-cloudfront/types.rb', line 10527

class PublicKeyConfig < Struct.new(
  :caller_reference,
  :name,
  :encoded_key,
  :comment)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

A name to help identify the public key.

Returns:

  • (String)

10527
10528
10529
10530
10531
10532
10533
10534
# File 'lib/aws-sdk-cloudfront/types.rb', line 10527

class PublicKeyConfig < Struct.new(
  :caller_reference,
  :name,
  :encoded_key,
  :comment)
  SENSITIVE = []
  include Aws::Structure
end