com.pulumi.aws.ssoadmin.CustomerManagedPolicyAttachmentArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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.ssoadmin;
import com.pulumi.aws.ssoadmin.inputs.CustomerManagedPolicyAttachmentCustomerManagedPolicyReferenceArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class CustomerManagedPolicyAttachmentArgs extends com.pulumi.resources.ResourceArgs {
public static final CustomerManagedPolicyAttachmentArgs Empty = new CustomerManagedPolicyAttachmentArgs();
/**
* Specifies the name and path of a customer managed policy. See below.
*
*/
@Import(name="customerManagedPolicyReference", required=true)
private Output customerManagedPolicyReference;
/**
* @return Specifies the name and path of a customer managed policy. See below.
*
*/
public Output customerManagedPolicyReference() {
return this.customerManagedPolicyReference;
}
/**
* The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.
*
*/
@Import(name="instanceArn", required=true)
private Output instanceArn;
/**
* @return The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.
*
*/
public Output instanceArn() {
return this.instanceArn;
}
/**
* The Amazon Resource Name (ARN) of the Permission Set.
*
*/
@Import(name="permissionSetArn", required=true)
private Output permissionSetArn;
/**
* @return The Amazon Resource Name (ARN) of the Permission Set.
*
*/
public Output permissionSetArn() {
return this.permissionSetArn;
}
private CustomerManagedPolicyAttachmentArgs() {}
private CustomerManagedPolicyAttachmentArgs(CustomerManagedPolicyAttachmentArgs $) {
this.customerManagedPolicyReference = $.customerManagedPolicyReference;
this.instanceArn = $.instanceArn;
this.permissionSetArn = $.permissionSetArn;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CustomerManagedPolicyAttachmentArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private CustomerManagedPolicyAttachmentArgs $;
public Builder() {
$ = new CustomerManagedPolicyAttachmentArgs();
}
public Builder(CustomerManagedPolicyAttachmentArgs defaults) {
$ = new CustomerManagedPolicyAttachmentArgs(Objects.requireNonNull(defaults));
}
/**
* @param customerManagedPolicyReference Specifies the name and path of a customer managed policy. See below.
*
* @return builder
*
*/
public Builder customerManagedPolicyReference(Output customerManagedPolicyReference) {
$.customerManagedPolicyReference = customerManagedPolicyReference;
return this;
}
/**
* @param customerManagedPolicyReference Specifies the name and path of a customer managed policy. See below.
*
* @return builder
*
*/
public Builder customerManagedPolicyReference(CustomerManagedPolicyAttachmentCustomerManagedPolicyReferenceArgs customerManagedPolicyReference) {
return customerManagedPolicyReference(Output.of(customerManagedPolicyReference));
}
/**
* @param instanceArn The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.
*
* @return builder
*
*/
public Builder instanceArn(Output instanceArn) {
$.instanceArn = instanceArn;
return this;
}
/**
* @param instanceArn The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.
*
* @return builder
*
*/
public Builder instanceArn(String instanceArn) {
return instanceArn(Output.of(instanceArn));
}
/**
* @param permissionSetArn The Amazon Resource Name (ARN) of the Permission Set.
*
* @return builder
*
*/
public Builder permissionSetArn(Output permissionSetArn) {
$.permissionSetArn = permissionSetArn;
return this;
}
/**
* @param permissionSetArn The Amazon Resource Name (ARN) of the Permission Set.
*
* @return builder
*
*/
public Builder permissionSetArn(String permissionSetArn) {
return permissionSetArn(Output.of(permissionSetArn));
}
public CustomerManagedPolicyAttachmentArgs build() {
if ($.customerManagedPolicyReference == null) {
throw new MissingRequiredPropertyException("CustomerManagedPolicyAttachmentArgs", "customerManagedPolicyReference");
}
if ($.instanceArn == null) {
throw new MissingRequiredPropertyException("CustomerManagedPolicyAttachmentArgs", "instanceArn");
}
if ($.permissionSetArn == null) {
throw new MissingRequiredPropertyException("CustomerManagedPolicyAttachmentArgs", "permissionSetArn");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy