Class: Aws::CloudFront::Types::CreateInvalidationRequest

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

{
  distribution_id: "string", # required
  invalidation_batch: { # required
    paths: { # required
      quantity: 1, # required
      items: ["string"],
    },
    caller_reference: "string", # required
  },
}

The request to create an invalidation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#distribution_idString

The distribution’s id.

Returns:

  • (String)


2636
2637
2638
2639
2640
2641
# File 'lib/aws-sdk-cloudfront/types.rb', line 2636

class CreateInvalidationRequest < Struct.new(
  :distribution_id,
  :invalidation_batch)
  SENSITIVE = []
  include Aws::Structure
end

#invalidation_batchTypes::InvalidationBatch

The batch information for the invalidation.



2636
2637
2638
2639
2640
2641
# File 'lib/aws-sdk-cloudfront/types.rb', line 2636

class CreateInvalidationRequest < Struct.new(
  :distribution_id,
  :invalidation_batch)
  SENSITIVE = []
  include Aws::Structure
end