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.

Instance Attribute Summary collapse

Instance Attribute Details

#distribution_idString

The distribution’s id.

Returns:

  • (String)


1786
1787
1788
1789
1790
# File 'lib/aws-sdk-cloudfront/types.rb', line 1786

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

#invalidation_batchTypes::InvalidationBatch

The batch information for the invalidation.



1786
1787
1788
1789
1790
# File 'lib/aws-sdk-cloudfront/types.rb', line 1786

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