All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.cloudformation.inputs.StackInstancesDeploymentTargetsArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.cloudformation.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class StackInstancesDeploymentTargetsArgs extends com.pulumi.resources.ResourceArgs {

    public static final StackInstancesDeploymentTargetsArgs Empty = new StackInstancesDeploymentTargetsArgs();

    /**
     * Limit deployment targets to individual accounts or include additional accounts with provided OUs. Valid values: `INTERSECTION`, `DIFFERENCE`, `UNION`, `NONE`.
     * 
     */
    @Import(name="accountFilterType")
    private @Nullable Output accountFilterType;

    /**
     * @return Limit deployment targets to individual accounts or include additional accounts with provided OUs. Valid values: `INTERSECTION`, `DIFFERENCE`, `UNION`, `NONE`.
     * 
     */
    public Optional> accountFilterType() {
        return Optional.ofNullable(this.accountFilterType);
    }

    /**
     * List of accounts to deploy stack set updates.
     * 
     */
    @Import(name="accounts")
    private @Nullable Output> accounts;

    /**
     * @return List of accounts to deploy stack set updates.
     * 
     */
    public Optional>> accounts() {
        return Optional.ofNullable(this.accounts);
    }

    /**
     * S3 URL of the file containing the list of accounts.
     * 
     */
    @Import(name="accountsUrl")
    private @Nullable Output accountsUrl;

    /**
     * @return S3 URL of the file containing the list of accounts.
     * 
     */
    public Optional> accountsUrl() {
        return Optional.ofNullable(this.accountsUrl);
    }

    /**
     * Organization root ID or organizational unit (OU) IDs to which stack sets deploy.
     * 
     */
    @Import(name="organizationalUnitIds")
    private @Nullable Output> organizationalUnitIds;

    /**
     * @return Organization root ID or organizational unit (OU) IDs to which stack sets deploy.
     * 
     */
    public Optional>> organizationalUnitIds() {
        return Optional.ofNullable(this.organizationalUnitIds);
    }

    private StackInstancesDeploymentTargetsArgs() {}

    private StackInstancesDeploymentTargetsArgs(StackInstancesDeploymentTargetsArgs $) {
        this.accountFilterType = $.accountFilterType;
        this.accounts = $.accounts;
        this.accountsUrl = $.accountsUrl;
        this.organizationalUnitIds = $.organizationalUnitIds;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(StackInstancesDeploymentTargetsArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private StackInstancesDeploymentTargetsArgs $;

        public Builder() {
            $ = new StackInstancesDeploymentTargetsArgs();
        }

        public Builder(StackInstancesDeploymentTargetsArgs defaults) {
            $ = new StackInstancesDeploymentTargetsArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param accountFilterType Limit deployment targets to individual accounts or include additional accounts with provided OUs. Valid values: `INTERSECTION`, `DIFFERENCE`, `UNION`, `NONE`.
         * 
         * @return builder
         * 
         */
        public Builder accountFilterType(@Nullable Output accountFilterType) {
            $.accountFilterType = accountFilterType;
            return this;
        }

        /**
         * @param accountFilterType Limit deployment targets to individual accounts or include additional accounts with provided OUs. Valid values: `INTERSECTION`, `DIFFERENCE`, `UNION`, `NONE`.
         * 
         * @return builder
         * 
         */
        public Builder accountFilterType(String accountFilterType) {
            return accountFilterType(Output.of(accountFilterType));
        }

        /**
         * @param accounts List of accounts to deploy stack set updates.
         * 
         * @return builder
         * 
         */
        public Builder accounts(@Nullable Output> accounts) {
            $.accounts = accounts;
            return this;
        }

        /**
         * @param accounts List of accounts to deploy stack set updates.
         * 
         * @return builder
         * 
         */
        public Builder accounts(List accounts) {
            return accounts(Output.of(accounts));
        }

        /**
         * @param accounts List of accounts to deploy stack set updates.
         * 
         * @return builder
         * 
         */
        public Builder accounts(String... accounts) {
            return accounts(List.of(accounts));
        }

        /**
         * @param accountsUrl S3 URL of the file containing the list of accounts.
         * 
         * @return builder
         * 
         */
        public Builder accountsUrl(@Nullable Output accountsUrl) {
            $.accountsUrl = accountsUrl;
            return this;
        }

        /**
         * @param accountsUrl S3 URL of the file containing the list of accounts.
         * 
         * @return builder
         * 
         */
        public Builder accountsUrl(String accountsUrl) {
            return accountsUrl(Output.of(accountsUrl));
        }

        /**
         * @param organizationalUnitIds Organization root ID or organizational unit (OU) IDs to which stack sets deploy.
         * 
         * @return builder
         * 
         */
        public Builder organizationalUnitIds(@Nullable Output> organizationalUnitIds) {
            $.organizationalUnitIds = organizationalUnitIds;
            return this;
        }

        /**
         * @param organizationalUnitIds Organization root ID or organizational unit (OU) IDs to which stack sets deploy.
         * 
         * @return builder
         * 
         */
        public Builder organizationalUnitIds(List organizationalUnitIds) {
            return organizationalUnitIds(Output.of(organizationalUnitIds));
        }

        /**
         * @param organizationalUnitIds Organization root ID or organizational unit (OU) IDs to which stack sets deploy.
         * 
         * @return builder
         * 
         */
        public Builder organizationalUnitIds(String... organizationalUnitIds) {
            return organizationalUnitIds(List.of(organizationalUnitIds));
        }

        public StackInstancesDeploymentTargetsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy