Class: Aws::Shield::Types::Subscription

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

Overview

Information about the AWS Shield Advanced subscription for an account.

Instance Attribute Summary collapse

Instance Attribute Details

#auto_renewString

If ENABLED, the subscription will be automatically renewed at the end of the existing subscription period.

When you initally create a subscription, AutoRenew is set to ENABLED. You can change this by submitting an UpdateSubscription request. If the UpdateSubscription request does not included a value for AutoRenew, the existing value for AutoRenew remains unchanged.

Returns:

  • (String)


1112
1113
1114
1115
1116
1117
1118
1119
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1112

class Subscription < Struct.new(
  :start_time,
  :end_time,
  :time_commitment_in_seconds,
  :auto_renew,
  :limits)
  include Aws::Structure
end

#end_timeTime

The date and time your subscription will end.

Returns:

  • (Time)


1112
1113
1114
1115
1116
1117
1118
1119
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1112

class Subscription < Struct.new(
  :start_time,
  :end_time,
  :time_commitment_in_seconds,
  :auto_renew,
  :limits)
  include Aws::Structure
end

#limitsArray<Types::Limit>

Specifies how many protections of a given type you can create.

Returns:



1112
1113
1114
1115
1116
1117
1118
1119
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1112

class Subscription < Struct.new(
  :start_time,
  :end_time,
  :time_commitment_in_seconds,
  :auto_renew,
  :limits)
  include Aws::Structure
end

#start_timeTime

The start time of the subscription, in Unix time in seconds. For more information see timestamp.

Returns:

  • (Time)


1112
1113
1114
1115
1116
1117
1118
1119
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1112

class Subscription < Struct.new(
  :start_time,
  :end_time,
  :time_commitment_in_seconds,
  :auto_renew,
  :limits)
  include Aws::Structure
end

#time_commitment_in_secondsInteger

The length, in seconds, of the AWS Shield Advanced subscription for the account.

Returns:

  • (Integer)


1112
1113
1114
1115
1116
1117
1118
1119
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1112

class Subscription < Struct.new(
  :start_time,
  :end_time,
  :time_commitment_in_seconds,
  :auto_renew,
  :limits)
  include Aws::Structure
end