com.pulumi.aws.iam.inputs.GetSessionContextPlainArgs 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.iam.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetSessionContextPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetSessionContextPlainArgs Empty = new GetSessionContextPlainArgs();
/**
* ARN for an assumed role.
*
* > If `arn` is a non-role ARN, Pulumi gives no error and `issuer_arn` will be equal to the `arn` value. For STS assumed-role ARNs, Pulumi gives an error if the identified IAM role does not exist.
*
*/
@Import(name="arn", required=true)
private String arn;
/**
* @return ARN for an assumed role.
*
* > If `arn` is a non-role ARN, Pulumi gives no error and `issuer_arn` will be equal to the `arn` value. For STS assumed-role ARNs, Pulumi gives an error if the identified IAM role does not exist.
*
*/
public String arn() {
return this.arn;
}
private GetSessionContextPlainArgs() {}
private GetSessionContextPlainArgs(GetSessionContextPlainArgs $) {
this.arn = $.arn;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetSessionContextPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetSessionContextPlainArgs $;
public Builder() {
$ = new GetSessionContextPlainArgs();
}
public Builder(GetSessionContextPlainArgs defaults) {
$ = new GetSessionContextPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param arn ARN for an assumed role.
*
* > If `arn` is a non-role ARN, Pulumi gives no error and `issuer_arn` will be equal to the `arn` value. For STS assumed-role ARNs, Pulumi gives an error if the identified IAM role does not exist.
*
* @return builder
*
*/
public Builder arn(String arn) {
$.arn = arn;
return this;
}
public GetSessionContextPlainArgs build() {
if ($.arn == null) {
throw new MissingRequiredPropertyException("GetSessionContextPlainArgs", "arn");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy