Class StackInstancesState.Builder

  • Enclosing class:
    StackInstancesState

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

      • accounts

        public StackInstancesState.Builder accounts​(@Nullable
                                                    com.pulumi.core.Output<java.util.List<java.lang.String>> accounts)
        Parameters:
        accounts - Accounts where you want to create stack instances in the specified `regions`. You can specify either `accounts` or `deploymentTargets`, but not both.
        Returns:
        builder
      • accounts

        public StackInstancesState.Builder accounts​(java.util.List<java.lang.String> accounts)
        Parameters:
        accounts - Accounts where you want to create stack instances in the specified `regions`. You can specify either `accounts` or `deploymentTargets`, but not both.
        Returns:
        builder
      • accounts

        public StackInstancesState.Builder accounts​(java.lang.String... accounts)
        Parameters:
        accounts - Accounts where you want to create stack instances in the specified `regions`. You can specify either `accounts` or `deploymentTargets`, but not both.
        Returns:
        builder
      • callAs

        public StackInstancesState.Builder callAs​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> callAs)
        Parameters:
        callAs - 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 StackInstancesState.Builder callAs​(java.lang.String callAs)
        Parameters:
        callAs - 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 StackInstancesState.Builder deploymentTargets​(@Nullable
                                                             com.pulumi.core.Output<StackInstancesDeploymentTargetsArgs> deploymentTargets)
        Parameters:
        deploymentTargets - AWS Organizations accounts for which to create stack instances in the `regions`. stack sets 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 most of this argument. See deploymentTargets below.
        Returns:
        builder
      • deploymentTargets

        public StackInstancesState.Builder deploymentTargets​(StackInstancesDeploymentTargetsArgs deploymentTargets)
        Parameters:
        deploymentTargets - AWS Organizations accounts for which to create stack instances in the `regions`. stack sets 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 most of this argument. See deploymentTargets below.
        Returns:
        builder
      • operationPreferences

        public StackInstancesState.Builder operationPreferences​(@Nullable
                                                                com.pulumi.core.Output<StackInstancesOperationPreferencesArgs> operationPreferences)
        Parameters:
        operationPreferences - Preferences for how AWS CloudFormation performs a stack set operation. See operationPreferences below.
        Returns:
        builder
      • parameterOverrides

        public StackInstancesState.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 stack set for these instances. This argument's drift detection is limited to the first account and region since each instance can have unique parameters.
        Returns:
        builder
      • parameterOverrides

        public StackInstancesState.Builder parameterOverrides​(java.util.Map<java.lang.String,​java.lang.String> parameterOverrides)
        Parameters:
        parameterOverrides - Key-value map of input parameters to override from the stack set for these instances. This argument's drift detection is limited to the first account and region since each instance can have unique parameters.
        Returns:
        builder
      • region

        public StackInstancesState.Builder region​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public StackInstancesState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • regions

        public StackInstancesState.Builder regions​(@Nullable
                                                   com.pulumi.core.Output<java.util.List<java.lang.String>> regions)
        Parameters:
        regions - Regions where you want to create stack instances in the specified `accounts`.
        Returns:
        builder
      • regions

        public StackInstancesState.Builder regions​(java.util.List<java.lang.String> regions)
        Parameters:
        regions - Regions where you want to create stack instances in the specified `accounts`.
        Returns:
        builder
      • regions

        public StackInstancesState.Builder regions​(java.lang.String... regions)
        Parameters:
        regions - Regions where you want to create stack instances in the specified `accounts`.
        Returns:
        builder
      • retainStacks

        public StackInstancesState.Builder retainStacks​(@Nullable
                                                        com.pulumi.core.Output<java.lang.Boolean> retainStacks)
        Parameters:
        retainStacks - Whether to remove the stack instances from the stack set, but not delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set. To retain the stack, ensure `retainStacks = true` has been successfully applied _before_ an apply that would destroy the resource. Defaults to `false`.
        Returns:
        builder
      • retainStacks

        public StackInstancesState.Builder retainStacks​(java.lang.Boolean retainStacks)
        Parameters:
        retainStacks - Whether to remove the stack instances from the stack set, but not delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set. To retain the stack, ensure `retainStacks = true` has been successfully applied _before_ an apply that would destroy the resource. Defaults to `false`.
        Returns:
        builder
      • stackInstanceSummaries

        public StackInstancesState.Builder stackInstanceSummaries​(@Nullable
                                                                  com.pulumi.core.Output<java.util.List<StackInstancesStackInstanceSummaryArgs>> stackInstanceSummaries)
        Parameters:
        stackInstanceSummaries - List of stack instances created from an organizational unit deployment target. This may not always be set depending on whether CloudFormation returns summaries for your configuration. See `stackInstanceSummaries`.
        Returns:
        builder
      • stackInstanceSummaries

        public StackInstancesState.Builder stackInstanceSummaries​(java.util.List<StackInstancesStackInstanceSummaryArgs> stackInstanceSummaries)
        Parameters:
        stackInstanceSummaries - List of stack instances created from an organizational unit deployment target. This may not always be set depending on whether CloudFormation returns summaries for your configuration. See `stackInstanceSummaries`.
        Returns:
        builder
      • stackInstanceSummaries

        public StackInstancesState.Builder stackInstanceSummaries​(StackInstancesStackInstanceSummaryArgs... stackInstanceSummaries)
        Parameters:
        stackInstanceSummaries - List of stack instances created from an organizational unit deployment target. This may not always be set depending on whether CloudFormation returns summaries for your configuration. See `stackInstanceSummaries`.
        Returns:
        builder
      • stackSetId

        public StackInstancesState.Builder stackSetId​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> stackSetId)
        Parameters:
        stackSetId - Name or unique ID of the stack set that the stack instance is associated with.
        Returns:
        builder
      • stackSetId

        public StackInstancesState.Builder stackSetId​(java.lang.String stackSetId)
        Parameters:
        stackSetId - Name or unique ID of the stack set that the stack instance is associated with.
        Returns:
        builder
      • stackSetName

        public StackInstancesState.Builder stackSetName​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> stackSetName)
        Parameters:
        stackSetName - Name of the stack set. The following arguments are optional:
        Returns:
        builder
      • stackSetName

        public StackInstancesState.Builder stackSetName​(java.lang.String stackSetName)
        Parameters:
        stackSetName - Name of the stack set. The following arguments are optional:
        Returns:
        builder