Class StackSetInstanceState.Builder

  • Enclosing class:
    StackSetInstanceState

    public static final class StackSetInstanceState.Builder
    extends java.lang.Object
    • Method Detail

      • accountId

        public StackSetInstanceState.Builder accountId​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> accountId)
        Parameters:
        accountId - Target AWS Account ID to create a Stack based on the StackSet. Defaults to current account.
        Returns:
        builder
      • accountId

        public StackSetInstanceState.Builder accountId​(java.lang.String accountId)
        Parameters:
        accountId - Target AWS Account ID to create a Stack based on the StackSet. Defaults to current account.
        Returns:
        builder
      • callAs

        public StackSetInstanceState.Builder callAs​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> callAs)
        Parameters:
        callAs - Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. Valid values: `SELF` (default), `DELEGATED_ADMIN`.
        Returns:
        builder
      • callAs

        public StackSetInstanceState.Builder callAs​(java.lang.String callAs)
        Parameters:
        callAs - Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account. Valid values: `SELF` (default), `DELEGATED_ADMIN`.
        Returns:
        builder
      • deploymentTargets

        public StackSetInstanceState.Builder deploymentTargets​(@Nullable
                                                               com.pulumi.core.Output<StackSetInstanceDeploymentTargetsArgs> deploymentTargets)
        Parameters:
        deploymentTargets - The AWS Organizations accounts to which StackSets deploys. StackSets doesn't deploy stack instances to the organization management account, even if the organization management account is in your organization or in an OU in your organization. Drift detection is not possible for this argument. See deployment_targets below.
        Returns:
        builder
      • deploymentTargets

        public StackSetInstanceState.Builder deploymentTargets​(StackSetInstanceDeploymentTargetsArgs deploymentTargets)
        Parameters:
        deploymentTargets - The AWS Organizations accounts to which StackSets deploys. StackSets doesn't deploy stack instances to the organization management account, even if the organization management account is in your organization or in an OU in your organization. Drift detection is not possible for this argument. See deployment_targets below.
        Returns:
        builder
      • organizationalUnitId

        public StackSetInstanceState.Builder organizationalUnitId​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.String> organizationalUnitId)
        Parameters:
        organizationalUnitId - Organizational unit ID in which the stack is deployed.
        Returns:
        builder
      • organizationalUnitId

        public StackSetInstanceState.Builder organizationalUnitId​(java.lang.String organizationalUnitId)
        Parameters:
        organizationalUnitId - Organizational unit ID in which the stack is deployed.
        Returns:
        builder
      • parameterOverrides

        public StackSetInstanceState.Builder parameterOverrides​(@Nullable
                                                                com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> parameterOverrides)
        Parameters:
        parameterOverrides - Key-value map of input parameters to override from the StackSet for this Instance.
        Returns:
        builder
      • parameterOverrides

        public StackSetInstanceState.Builder parameterOverrides​(java.util.Map<java.lang.String,​java.lang.String> parameterOverrides)
        Parameters:
        parameterOverrides - Key-value map of input parameters to override from the StackSet for this Instance.
        Returns:
        builder
      • region

        public StackSetInstanceState.Builder region​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Target AWS Region to create a Stack based on the StackSet. Defaults to current region.
        Returns:
        builder
      • region

        public StackSetInstanceState.Builder region​(java.lang.String region)
        Parameters:
        region - Target AWS Region to create a Stack based on the StackSet. Defaults to current region.
        Returns:
        builder
      • retainStack

        public StackSetInstanceState.Builder retainStack​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Boolean> retainStack)
        Parameters:
        retainStack - During resource destroy, remove Instance from StackSet while keeping the Stack and its associated resources. Must be enabled in the state _before_ destroy operation to take effect. You cannot reassociate a retained Stack or add an existing, saved Stack to a new StackSet. Defaults to `false`.
        Returns:
        builder
      • retainStack

        public StackSetInstanceState.Builder retainStack​(java.lang.Boolean retainStack)
        Parameters:
        retainStack - During resource destroy, remove Instance from StackSet while keeping the Stack and its associated resources. Must be enabled in the state _before_ destroy operation to take effect. You cannot reassociate a retained Stack or add an existing, saved Stack to a new StackSet. Defaults to `false`.
        Returns:
        builder
      • stackId

        public StackSetInstanceState.Builder stackId​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> stackId)
        Parameters:
        stackId - Stack identifier.
        Returns:
        builder
      • stackInstanceSummaries

        public StackSetInstanceState.Builder stackInstanceSummaries​(@Nullable
                                                                    com.pulumi.core.Output<java.util.List<StackSetInstanceStackInstanceSummaryArgs>> stackInstanceSummaries)
        Parameters:
        stackInstanceSummaries - List of stack instances created from an organizational unit deployment target. This will only be populated when `deployment_targets` is set. See `stack_instance_summaries`.
        Returns:
        builder
      • stackInstanceSummaries

        public StackSetInstanceState.Builder stackInstanceSummaries​(java.util.List<StackSetInstanceStackInstanceSummaryArgs> stackInstanceSummaries)
        Parameters:
        stackInstanceSummaries - List of stack instances created from an organizational unit deployment target. This will only be populated when `deployment_targets` is set. See `stack_instance_summaries`.
        Returns:
        builder
      • stackInstanceSummaries

        public StackSetInstanceState.Builder stackInstanceSummaries​(StackSetInstanceStackInstanceSummaryArgs... stackInstanceSummaries)
        Parameters:
        stackInstanceSummaries - List of stack instances created from an organizational unit deployment target. This will only be populated when `deployment_targets` is set. See `stack_instance_summaries`.
        Returns:
        builder
      • stackSetName

        public StackSetInstanceState.Builder stackSetName​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> stackSetName)
        Parameters:
        stackSetName - Name of the StackSet.
        Returns:
        builder
      • stackSetName

        public StackSetInstanceState.Builder stackSetName​(java.lang.String stackSetName)
        Parameters:
        stackSetName - Name of the StackSet.
        Returns:
        builder