Class StackSetState.Builder

  • Enclosing class:
    StackSetState

    public static final class StackSetState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • administrationRoleArn

        public StackSetState.Builder administrationRoleArn​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> administrationRoleArn)
        Parameters:
        administrationRoleArn - Amazon Resource Number (ARN) of the IAM Role in the administrator account. This must be defined when using the `SELF_MANAGED` permission model.
        Returns:
        builder
      • administrationRoleArn

        public StackSetState.Builder administrationRoleArn​(java.lang.String administrationRoleArn)
        Parameters:
        administrationRoleArn - Amazon Resource Number (ARN) of the IAM Role in the administrator account. This must be defined when using the `SELF_MANAGED` permission model.
        Returns:
        builder
      • arn

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

        public StackSetState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the StackSet.
        Returns:
        builder
      • autoDeployment

        public StackSetState.Builder autoDeployment​(@Nullable
                                                    com.pulumi.core.Output<StackSetAutoDeploymentArgs> autoDeployment)
        Parameters:
        autoDeployment - Configuration block containing the auto-deployment model for your StackSet. This can only be defined when using the `SERVICE_MANAGED` permission model.
        Returns:
        builder
      • autoDeployment

        public StackSetState.Builder autoDeployment​(StackSetAutoDeploymentArgs autoDeployment)
        Parameters:
        autoDeployment - Configuration block containing the auto-deployment model for your StackSet. This can only be defined when using the `SERVICE_MANAGED` permission model.
        Returns:
        builder
      • callAs

        public StackSetState.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 StackSetState.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
      • capabilities

        public StackSetState.Builder capabilities​(@Nullable
                                                  com.pulumi.core.Output<java.util.List<java.lang.String>> capabilities)
        Parameters:
        capabilities - A list of capabilities. Valid values: `CAPABILITY_IAM`, `CAPABILITY_NAMED_IAM`, `CAPABILITY_AUTO_EXPAND`.
        Returns:
        builder
      • capabilities

        public StackSetState.Builder capabilities​(java.util.List<java.lang.String> capabilities)
        Parameters:
        capabilities - A list of capabilities. Valid values: `CAPABILITY_IAM`, `CAPABILITY_NAMED_IAM`, `CAPABILITY_AUTO_EXPAND`.
        Returns:
        builder
      • capabilities

        public StackSetState.Builder capabilities​(java.lang.String... capabilities)
        Parameters:
        capabilities - A list of capabilities. Valid values: `CAPABILITY_IAM`, `CAPABILITY_NAMED_IAM`, `CAPABILITY_AUTO_EXPAND`.
        Returns:
        builder
      • description

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

        public StackSetState.Builder description​(java.lang.String description)
        Parameters:
        description - Description of the StackSet.
        Returns:
        builder
      • executionRoleName

        public StackSetState.Builder executionRoleName​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> executionRoleName)
        Parameters:
        executionRoleName - Name of the IAM Role in all target accounts for StackSet operations. Defaults to `AWSCloudFormationStackSetExecutionRole` when using the `SELF_MANAGED` permission model. This should not be defined when using the `SERVICE_MANAGED` permission model.
        Returns:
        builder
      • executionRoleName

        public StackSetState.Builder executionRoleName​(java.lang.String executionRoleName)
        Parameters:
        executionRoleName - Name of the IAM Role in all target accounts for StackSet operations. Defaults to `AWSCloudFormationStackSetExecutionRole` when using the `SELF_MANAGED` permission model. This should not be defined when using the `SERVICE_MANAGED` permission model.
        Returns:
        builder
      • managedExecution

        public StackSetState.Builder managedExecution​(@Nullable
                                                      com.pulumi.core.Output<StackSetManagedExecutionArgs> managedExecution)
        Parameters:
        managedExecution - Configuration block to allow StackSets to perform non-conflicting operations concurrently and queues conflicting operations.
        Returns:
        builder
      • managedExecution

        public StackSetState.Builder managedExecution​(StackSetManagedExecutionArgs managedExecution)
        Parameters:
        managedExecution - Configuration block to allow StackSets to perform non-conflicting operations concurrently and queues conflicting operations.
        Returns:
        builder
      • name

        public StackSetState.Builder name​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the StackSet. The name must be unique in the region where you create your StackSet. The name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphabetic character and cannot be longer than 128 characters.
        Returns:
        builder
      • name

        public StackSetState.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the StackSet. The name must be unique in the region where you create your StackSet. The name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphabetic character and cannot be longer than 128 characters.
        Returns:
        builder
      • operationPreferences

        public StackSetState.Builder operationPreferences​(@Nullable
                                                          com.pulumi.core.Output<StackSetOperationPreferencesArgs> operationPreferences)
        Parameters:
        operationPreferences - Preferences for how AWS CloudFormation performs a stack set update.
        Returns:
        builder
      • parameters

        public StackSetState.Builder parameters​(@Nullable
                                                com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> parameters)
        Parameters:
        parameters - Key-value map of input parameters for the StackSet template. All template parameters, including those with a `Default`, must be configured or ignored with `lifecycle` configuration block `ignoreChanges` argument. All `NoEcho` template parameters must be ignored with the `lifecycle` configuration block `ignoreChanges` argument.
        Returns:
        builder
      • parameters

        public StackSetState.Builder parameters​(java.util.Map<java.lang.String,​java.lang.String> parameters)
        Parameters:
        parameters - Key-value map of input parameters for the StackSet template. All template parameters, including those with a `Default`, must be configured or ignored with `lifecycle` configuration block `ignoreChanges` argument. All `NoEcho` template parameters must be ignored with the `lifecycle` configuration block `ignoreChanges` argument.
        Returns:
        builder
      • permissionModel

        public StackSetState.Builder permissionModel​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> permissionModel)
        Parameters:
        permissionModel - Describes how the IAM roles required for your StackSet are created. Valid values: `SELF_MANAGED` (default), `SERVICE_MANAGED`.
        Returns:
        builder
      • permissionModel

        public StackSetState.Builder permissionModel​(java.lang.String permissionModel)
        Parameters:
        permissionModel - Describes how the IAM roles required for your StackSet are created. Valid values: `SELF_MANAGED` (default), `SERVICE_MANAGED`.
        Returns:
        builder
      • region

        public StackSetState.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 StackSetState.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
      • stackSetId

        public StackSetState.Builder stackSetId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> stackSetId)
        Parameters:
        stackSetId - Unique identifier of the StackSet.
        Returns:
        builder
      • stackSetId

        public StackSetState.Builder stackSetId​(java.lang.String stackSetId)
        Parameters:
        stackSetId - Unique identifier of the StackSet.
        Returns:
        builder
      • tags

        public StackSetState.Builder tags​(@Nullable
                                          com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value map of tags to associate with this StackSet and the Stacks created from it. AWS CloudFormation also propagates these tags to supported resources that are created in the Stacks. A maximum number of 50 tags can be specified. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public StackSetState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value map of tags to associate with this StackSet and the Stacks created from it. AWS CloudFormation also propagates these tags to supported resources that are created in the Stacks. A maximum number of 50 tags can be specified. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public StackSetState.Builder tagsAll​(@Nullable
                                             com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public StackSetState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • templateBody

        public StackSetState.Builder templateBody​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> templateBody)
        Parameters:
        templateBody - String containing the CloudFormation template body. Maximum size: 51,200 bytes. Conflicts with `templateUrl`.
        Returns:
        builder
      • templateBody

        public StackSetState.Builder templateBody​(java.lang.String templateBody)
        Parameters:
        templateBody - String containing the CloudFormation template body. Maximum size: 51,200 bytes. Conflicts with `templateUrl`.
        Returns:
        builder
      • templateUrl

        public StackSetState.Builder templateUrl​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> templateUrl)
        Parameters:
        templateUrl - String containing the location of a file containing the CloudFormation template body. The URL must point to a template that is located in an Amazon S3 bucket. Maximum location file size: 460,800 bytes. Conflicts with `templateBody`.
        Returns:
        builder
      • templateUrl

        public StackSetState.Builder templateUrl​(java.lang.String templateUrl)
        Parameters:
        templateUrl - String containing the location of a file containing the CloudFormation template body. The URL must point to a template that is located in an Amazon S3 bucket. Maximum location file size: 460,800 bytes. Conflicts with `templateBody`.
        Returns:
        builder