Class SubscriptionState
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.pricingplanmanager.inputs.SubscriptionState
-
public final class SubscriptionState extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubscriptionState.Builder
-
Field Summary
Fields Modifier and Type Field Description static SubscriptionStateEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.lang.String>>approvalMode()java.util.Optional<com.pulumi.core.Output<java.lang.String>>arn()static SubscriptionState.Builderbuilder()static SubscriptionState.Builderbuilder(SubscriptionState defaults)java.util.Optional<com.pulumi.core.Output<java.lang.String>>etag()java.util.Optional<com.pulumi.core.Output<java.lang.String>>planFamily()java.util.Optional<com.pulumi.core.Output<java.lang.String>>planTier()java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>resourceArns()java.util.Optional<com.pulumi.core.Output<java.util.List<SubscriptionScheduledChangeArgs>>>scheduledChanges()java.util.Optional<com.pulumi.core.Output<java.lang.String>>status()java.util.Optional<com.pulumi.core.Output<java.lang.String>>statusReason()java.util.Optional<com.pulumi.core.Output<SubscriptionTimeoutsArgs>>timeouts()java.util.Optional<com.pulumi.core.Output<java.lang.String>>usageLevel()
-
-
-
Field Detail
-
Empty
public static final SubscriptionState Empty
-
-
Method Detail
-
approvalMode
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> approvalMode()
- Returns:
- Whether the subscription requires explicit approval before billing starts. Valid values: `MANUAL`, `IMMEDIATE`. If not set, AWS defaults to `MANUAL` for paid-tier subscriptions and `IMMEDIATE` for `FREE` tier subscriptions. With `MANUAL`, paid-tier subscriptions remain in `PENDING_APPROVAL` (unbilled, and unmodifiable) until approved with a separate `ApprovePaidSubscription` API call. This value is used only at creation time and is not returned by the AWS API. Changing this argument creates a new resource.
-
arn
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
- Returns:
- ARN of the subscription.
-
etag
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> etag()
- Returns:
- Entity tag of the subscription, used by AWS for optimistic concurrency control.
-
planFamily
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> planFamily()
- Returns:
- Pricing plan family to subscribe to, such as `CloudFront`. Changing this argument creates a new resource.
-
planTier
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> planTier()
- Returns:
- Tier level for the subscription, such as `FREE`, `PRO`, `BUSINESS`, or `PREMIUM`. Upgrades take effect immediately. Downgrades are scheduled by AWS to take effect at the end of the current billing period: until then AWS keeps billing the old tier and this argument reflects the desired (scheduled) tier, with the pending change exposed in `scheduledChange`. Raising the tier again before the downgrade takes effect reverts the pending change.
-
resourceArns
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> resourceArns()
- Returns:
- Set of ARNs of the AWS resources to include in the subscription, between 1 and 10 entries. For subscriptions in the `CloudFront` plan family, the resources must include exactly one CloudFront distribution and exactly one WAF web ACL, and can also include other supported resources such as Route 53 hosted zones (any tier) and CloudFront KeyValueStores (paid tiers only). Associated resources are protected by AWS while covered — for example, a hosted zone cannot be deleted until it is disassociated from the plan. The following arguments are optional:
-
scheduledChanges
public java.util.Optional<com.pulumi.core.Output<java.util.List<SubscriptionScheduledChangeArgs>>> scheduledChanges()
- Returns:
- Pending change that takes effect at the end of the current billing period, if any. See `scheduledChange` below.
-
status
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> status()
- Returns:
- Current status of the subscription. Valid values: `PENDING_APPROVAL`, `ACTIVE`, `SYNC_IN_PROGRESS`, `FAILED`.
-
statusReason
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> statusReason()
- Returns:
- Human-readable explanation of the current status, when available.
-
timeouts
public java.util.Optional<com.pulumi.core.Output<SubscriptionTimeoutsArgs>> timeouts()
-
usageLevel
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> usageLevel()
- Returns:
- Usage level within the plan tier. Specify `DEFAULT` for the base configuration, or a higher level if the plan tier supports it. If omitted on an update, the usage level is reset to the plan tier's default.
-
builder
public static SubscriptionState.Builder builder()
-
builder
public static SubscriptionState.Builder builder(SubscriptionState defaults)
-
-