Class StackInstancesArgs.Builder

  • Enclosing class:
    StackInstancesArgs

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

      • accounts

        public StackInstancesArgs.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 StackInstancesArgs.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 StackInstancesArgs.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 StackInstancesArgs.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 StackInstancesArgs.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 StackInstancesArgs.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 StackInstancesArgs.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 StackInstancesArgs.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 StackInstancesArgs.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 StackInstancesArgs.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 StackInstancesArgs.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 StackInstancesArgs.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 StackInstancesArgs.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 StackInstancesArgs.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 StackInstancesArgs.Builder regions​(java.lang.String... regions)
        Parameters:
        regions - Regions where you want to create stack instances in the specified `accounts`.
        Returns:
        builder
      • retainStacks

        public StackInstancesArgs.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 StackInstancesArgs.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
      • stackSetName

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

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