Class: Aws::SecurityHub::Types::AwsCloudFrontDistributionOriginItem

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

Note:

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

{
  domain_name: "NonEmptyString",
  id: "NonEmptyString",
  origin_path: "NonEmptyString",
  s3_origin_config: {
    origin_access_identity: "NonEmptyString",
  },
  custom_origin_config: {
    http_port: 1,
    https_port: 1,
    origin_keepalive_timeout: 1,
    origin_protocol_policy: "NonEmptyString",
    origin_read_timeout: 1,
    origin_ssl_protocols: {
      items: ["NonEmptyString"],
      quantity: 1,
    },
  },
}

A complex type that describes the Amazon S3 bucket, HTTP server (for example, a web server), AWS Elemental MediaStore, or other server from which CloudFront gets your files.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#custom_origin_configTypes::AwsCloudFrontDistributionOriginCustomOriginConfig

An origin that is not an Amazon S3 bucket, with one exception. If the Amazon S3 bucket is configured with static website hosting, use this attribute. If the Amazon S3 bucket is not configured with static website hosting, use the S3OriginConfig type instead.



3363
3364
3365
3366
3367
3368
3369
3370
3371
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 3363

class AwsCloudFrontDistributionOriginItem < Struct.new(
  :domain_name,
  :id,
  :origin_path,
  :s3_origin_config,
  :custom_origin_config)
  SENSITIVE = []
  include Aws::Structure
end

#domain_nameString

Amazon S3 origins: The DNS name of the S3 bucket from which you want CloudFront to get objects for this origin.

Returns:

  • (String)


3363
3364
3365
3366
3367
3368
3369
3370
3371
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 3363

class AwsCloudFrontDistributionOriginItem < Struct.new(
  :domain_name,
  :id,
  :origin_path,
  :s3_origin_config,
  :custom_origin_config)
  SENSITIVE = []
  include Aws::Structure
end

#idString

A unique identifier for the origin or origin group.

Returns:

  • (String)


3363
3364
3365
3366
3367
3368
3369
3370
3371
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 3363

class AwsCloudFrontDistributionOriginItem < Struct.new(
  :domain_name,
  :id,
  :origin_path,
  :s3_origin_config,
  :custom_origin_config)
  SENSITIVE = []
  include Aws::Structure
end

#origin_pathString

An optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin.

Returns:

  • (String)


3363
3364
3365
3366
3367
3368
3369
3370
3371
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 3363

class AwsCloudFrontDistributionOriginItem < Struct.new(
  :domain_name,
  :id,
  :origin_path,
  :s3_origin_config,
  :custom_origin_config)
  SENSITIVE = []
  include Aws::Structure
end

#s3_origin_configTypes::AwsCloudFrontDistributionOriginS3OriginConfig

An origin that is an S3 bucket that is not configured with static website hosting.



3363
3364
3365
3366
3367
3368
3369
3370
3371
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 3363

class AwsCloudFrontDistributionOriginItem < Struct.new(
  :domain_name,
  :id,
  :origin_path,
  :s3_origin_config,
  :custom_origin_config)
  SENSITIVE = []
  include Aws::Structure
end