com.pulumi.aws.iam.inputs.GetPolicyPlainArgs Maven / Gradle / Ivy
// *** 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 java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GetPolicyPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetPolicyPlainArgs Empty = new GetPolicyPlainArgs();
/**
* ARN of the IAM policy.
* Conflicts with `name` and `path_prefix`.
*
*/
@Import(name="arn")
private @Nullable String arn;
/**
* @return ARN of the IAM policy.
* Conflicts with `name` and `path_prefix`.
*
*/
public Optional arn() {
return Optional.ofNullable(this.arn);
}
/**
* Name of the IAM policy.
* Conflicts with `arn`.
*
*/
@Import(name="name")
private @Nullable String name;
/**
* @return Name of the IAM policy.
* Conflicts with `arn`.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* Prefix of the path to the IAM policy.
* Defaults to a slash (`/`).
* Conflicts with `arn`.
*
*/
@Import(name="pathPrefix")
private @Nullable String pathPrefix;
/**
* @return Prefix of the path to the IAM policy.
* Defaults to a slash (`/`).
* Conflicts with `arn`.
*
*/
public Optional pathPrefix() {
return Optional.ofNullable(this.pathPrefix);
}
/**
* Key-value mapping of tags for the IAM Policy.
*
*/
@Import(name="tags")
private @Nullable Map tags;
/**
* @return Key-value mapping of tags for the IAM Policy.
*
*/
public Optional
© 2015 - 2025 Weber Informatics LLC | Privacy Policy