Class StackSetArgs.Builder

  • Enclosing class:
    StackSetArgs

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

      • Builder

        public Builder()
    • Method Detail

      • administrationRoleArn

        public StackSetArgs.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 StackSetArgs.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
      • autoDeployment

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

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

        public StackSetArgs.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 StackSetArgs.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 StackSetArgs.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 StackSetArgs.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 StackSetArgs.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 StackSetArgs.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 StackSetArgs.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 StackSetArgs.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 `ignore_changes` argument. All `NoEcho` template parameters must be ignored with the `lifecycle` configuration block `ignore_changes` argument.
        Returns:
        builder
      • parameters

        public StackSetArgs.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 `ignore_changes` argument. All `NoEcho` template parameters must be ignored with the `lifecycle` configuration block `ignore_changes` argument.
        Returns:
        builder
      • permissionModel

        public StackSetArgs.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 StackSetArgs.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
      • tags

        public StackSetArgs.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public StackSetArgs.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • templateBody

        public StackSetArgs.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 `template_url`.
        Returns:
        builder
      • templateBody

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

        public StackSetArgs.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 `template_body`.
        Returns:
        builder
      • templateUrl

        public StackSetArgs.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 `template_body`.
        Returns:
        builder