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

com.pulumi.aws.organizations.OrganizationArgs 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.organizations;

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 OrganizationArgs extends com.pulumi.resources.ResourceArgs {

    public static final OrganizationArgs Empty = new OrganizationArgs();

    /**
     * List of AWS service principal names for which you want to enable integration with your organization. This is typically in the form of a URL, such as service-abbreviation.amazonaws.com. Organization must have `feature_set` set to `ALL`. Some services do not support enablement via this endpoint, see [warning in aws docs](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html).
     * 
     */
    @Import(name="awsServiceAccessPrincipals")
    private @Nullable Output> awsServiceAccessPrincipals;

    /**
     * @return List of AWS service principal names for which you want to enable integration with your organization. This is typically in the form of a URL, such as service-abbreviation.amazonaws.com. Organization must have `feature_set` set to `ALL`. Some services do not support enablement via this endpoint, see [warning in aws docs](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html).
     * 
     */
    public Optional>> awsServiceAccessPrincipals() {
        return Optional.ofNullable(this.awsServiceAccessPrincipals);
    }

    /**
     * List of Organizations policy types to enable in the Organization Root. Organization must have `feature_set` set to `ALL`. For additional information about valid policy types (e.g., `AISERVICES_OPT_OUT_POLICY`, `BACKUP_POLICY`, `SERVICE_CONTROL_POLICY`, and `TAG_POLICY`), see the [AWS Organizations API Reference](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnablePolicyType.html).
     * 
     */
    @Import(name="enabledPolicyTypes")
    private @Nullable Output> enabledPolicyTypes;

    /**
     * @return List of Organizations policy types to enable in the Organization Root. Organization must have `feature_set` set to `ALL`. For additional information about valid policy types (e.g., `AISERVICES_OPT_OUT_POLICY`, `BACKUP_POLICY`, `SERVICE_CONTROL_POLICY`, and `TAG_POLICY`), see the [AWS Organizations API Reference](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnablePolicyType.html).
     * 
     */
    public Optional>> enabledPolicyTypes() {
        return Optional.ofNullable(this.enabledPolicyTypes);
    }

    /**
     * Specify "ALL" (default) or "CONSOLIDATED_BILLING".
     * 
     */
    @Import(name="featureSet")
    private @Nullable Output featureSet;

    /**
     * @return Specify "ALL" (default) or "CONSOLIDATED_BILLING".
     * 
     */
    public Optional> featureSet() {
        return Optional.ofNullable(this.featureSet);
    }

    private OrganizationArgs() {}

    private OrganizationArgs(OrganizationArgs $) {
        this.awsServiceAccessPrincipals = $.awsServiceAccessPrincipals;
        this.enabledPolicyTypes = $.enabledPolicyTypes;
        this.featureSet = $.featureSet;
    }

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

    public static final class Builder {
        private OrganizationArgs $;

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

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

        /**
         * @param awsServiceAccessPrincipals List of AWS service principal names for which you want to enable integration with your organization. This is typically in the form of a URL, such as service-abbreviation.amazonaws.com. Organization must have `feature_set` set to `ALL`. Some services do not support enablement via this endpoint, see [warning in aws docs](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html).
         * 
         * @return builder
         * 
         */
        public Builder awsServiceAccessPrincipals(@Nullable Output> awsServiceAccessPrincipals) {
            $.awsServiceAccessPrincipals = awsServiceAccessPrincipals;
            return this;
        }

        /**
         * @param awsServiceAccessPrincipals List of AWS service principal names for which you want to enable integration with your organization. This is typically in the form of a URL, such as service-abbreviation.amazonaws.com. Organization must have `feature_set` set to `ALL`. Some services do not support enablement via this endpoint, see [warning in aws docs](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html).
         * 
         * @return builder
         * 
         */
        public Builder awsServiceAccessPrincipals(List awsServiceAccessPrincipals) {
            return awsServiceAccessPrincipals(Output.of(awsServiceAccessPrincipals));
        }

        /**
         * @param awsServiceAccessPrincipals List of AWS service principal names for which you want to enable integration with your organization. This is typically in the form of a URL, such as service-abbreviation.amazonaws.com. Organization must have `feature_set` set to `ALL`. Some services do not support enablement via this endpoint, see [warning in aws docs](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html).
         * 
         * @return builder
         * 
         */
        public Builder awsServiceAccessPrincipals(String... awsServiceAccessPrincipals) {
            return awsServiceAccessPrincipals(List.of(awsServiceAccessPrincipals));
        }

        /**
         * @param enabledPolicyTypes List of Organizations policy types to enable in the Organization Root. Organization must have `feature_set` set to `ALL`. For additional information about valid policy types (e.g., `AISERVICES_OPT_OUT_POLICY`, `BACKUP_POLICY`, `SERVICE_CONTROL_POLICY`, and `TAG_POLICY`), see the [AWS Organizations API Reference](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnablePolicyType.html).
         * 
         * @return builder
         * 
         */
        public Builder enabledPolicyTypes(@Nullable Output> enabledPolicyTypes) {
            $.enabledPolicyTypes = enabledPolicyTypes;
            return this;
        }

        /**
         * @param enabledPolicyTypes List of Organizations policy types to enable in the Organization Root. Organization must have `feature_set` set to `ALL`. For additional information about valid policy types (e.g., `AISERVICES_OPT_OUT_POLICY`, `BACKUP_POLICY`, `SERVICE_CONTROL_POLICY`, and `TAG_POLICY`), see the [AWS Organizations API Reference](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnablePolicyType.html).
         * 
         * @return builder
         * 
         */
        public Builder enabledPolicyTypes(List enabledPolicyTypes) {
            return enabledPolicyTypes(Output.of(enabledPolicyTypes));
        }

        /**
         * @param enabledPolicyTypes List of Organizations policy types to enable in the Organization Root. Organization must have `feature_set` set to `ALL`. For additional information about valid policy types (e.g., `AISERVICES_OPT_OUT_POLICY`, `BACKUP_POLICY`, `SERVICE_CONTROL_POLICY`, and `TAG_POLICY`), see the [AWS Organizations API Reference](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnablePolicyType.html).
         * 
         * @return builder
         * 
         */
        public Builder enabledPolicyTypes(String... enabledPolicyTypes) {
            return enabledPolicyTypes(List.of(enabledPolicyTypes));
        }

        /**
         * @param featureSet Specify "ALL" (default) or "CONSOLIDATED_BILLING".
         * 
         * @return builder
         * 
         */
        public Builder featureSet(@Nullable Output featureSet) {
            $.featureSet = featureSet;
            return this;
        }

        /**
         * @param featureSet Specify "ALL" (default) or "CONSOLIDATED_BILLING".
         * 
         * @return builder
         * 
         */
        public Builder featureSet(String featureSet) {
            return featureSet(Output.of(featureSet));
        }

        public OrganizationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy