Class: Aws::PricingPlanManager::Types::CreateSubscriptionInput

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#approval_modeString

Determines whether the subscription requires explicit approval before billing starts. Set to MANUAL to require a separate ApprovePaidSubscription call, or IMMEDIATE to activate the subscription right away. Defaults to IMMEDIATE if not specified.

Returns:

  • (String)


277
278
279
280
281
282
283
284
285
286
# File 'lib/aws-sdk-pricingplanmanager/types.rb', line 277

class CreateSubscriptionInput < Struct.new(
  :plan_family,
  :plan_tier,
  :usage_level,
  :resource_arns,
  :approval_mode,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

A unique, case-sensitive identifier that you provide to ensure that the request is handled only once. If you send the same request with the same client token, the API returns the original response without creating a duplicate subscription.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


277
278
279
280
281
282
283
284
285
286
# File 'lib/aws-sdk-pricingplanmanager/types.rb', line 277

class CreateSubscriptionInput < Struct.new(
  :plan_family,
  :plan_tier,
  :usage_level,
  :resource_arns,
  :approval_mode,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#plan_familyString

The pricing plan family to subscribe to, such as CloudFront.

Returns:

  • (String)


277
278
279
280
281
282
283
284
285
286
# File 'lib/aws-sdk-pricingplanmanager/types.rb', line 277

class CreateSubscriptionInput < Struct.new(
  :plan_family,
  :plan_tier,
  :usage_level,
  :resource_arns,
  :approval_mode,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#plan_tierString

The tier level for the subscription, such as FREE, PRO, BUSINESS, or PREMIUM.

Returns:

  • (String)


277
278
279
280
281
282
283
284
285
286
# File 'lib/aws-sdk-pricingplanmanager/types.rb', line 277

class CreateSubscriptionInput < Struct.new(
  :plan_family,
  :plan_tier,
  :usage_level,
  :resource_arns,
  :approval_mode,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#resource_arnsArray<String>

The ARNs of the AWS resources to include in the subscription. Specify one or more supported resources.

For subscriptions in the CloudFront plan family, the resources must include exactly one Amazon CloudFront distribution and exactly one AWS WAF web ACL. You can also include other supported resources, such as Amazon Route 53 hosted zones and CloudFront KeyValueStores.

Returns:

  • (Array<String>)


277
278
279
280
281
282
283
284
285
286
# File 'lib/aws-sdk-pricingplanmanager/types.rb', line 277

class CreateSubscriptionInput < Struct.new(
  :plan_family,
  :plan_tier,
  :usage_level,
  :resource_arns,
  :approval_mode,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#usage_levelString

The usage level within the plan tier. Specify DEFAULT for the base configuration, or a higher level if your plan tier supports it.

Returns:

  • (String)


277
278
279
280
281
282
283
284
285
286
# File 'lib/aws-sdk-pricingplanmanager/types.rb', line 277

class CreateSubscriptionInput < Struct.new(
  :plan_family,
  :plan_tier,
  :usage_level,
  :resource_arns,
  :approval_mode,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end