akeyless.AuthMethodAwsIam
Explore with Pulumi AI
AWS IAM Auth Method Resource
Create AuthMethodAwsIam Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AuthMethodAwsIam(name: string, args: AuthMethodAwsIamArgs, opts?: CustomResourceOptions);
@overload
def AuthMethodAwsIam(resource_name: str,
args: AuthMethodAwsIamInitArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AuthMethodAwsIam(resource_name: str,
opts: Optional[ResourceOptions] = None,
bound_aws_account_ids: Optional[Sequence[str]] = None,
bound_role_names: Optional[Sequence[str]] = None,
delete_protection: Optional[str] = None,
bound_arns: Optional[Sequence[str]] = None,
audit_logs_claims: Optional[Sequence[str]] = None,
bound_ips: Optional[Sequence[str]] = None,
bound_resource_ids: Optional[Sequence[str]] = None,
auth_method_aws_iam_id: Optional[str] = None,
bound_user_ids: Optional[Sequence[str]] = None,
bound_role_ids: Optional[Sequence[str]] = None,
bound_user_names: Optional[Sequence[str]] = None,
access_expires: Optional[float] = None,
force_sub_claims: Optional[bool] = None,
jwt_ttl: Optional[float] = None,
name: Optional[str] = None,
sts_url: Optional[str] = None)
func NewAuthMethodAwsIam(ctx *Context, name string, args AuthMethodAwsIamArgs, opts ...ResourceOption) (*AuthMethodAwsIam, error)
public AuthMethodAwsIam(string name, AuthMethodAwsIamArgs args, CustomResourceOptions? opts = null)
public AuthMethodAwsIam(String name, AuthMethodAwsIamArgs args)
public AuthMethodAwsIam(String name, AuthMethodAwsIamArgs args, CustomResourceOptions options)
type: akeyless:AuthMethodAwsIam
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AuthMethodAwsIamArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AuthMethodAwsIamInitArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AuthMethodAwsIamArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AuthMethodAwsIamArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AuthMethodAwsIamArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var authMethodAwsIamResource = new Akeyless.AuthMethodAwsIam("authMethodAwsIamResource", new()
{
BoundAwsAccountIds = new[]
{
"string",
},
BoundRoleNames = new[]
{
"string",
},
DeleteProtection = "string",
BoundArns = new[]
{
"string",
},
AuditLogsClaims = new[]
{
"string",
},
BoundIps = new[]
{
"string",
},
BoundResourceIds = new[]
{
"string",
},
AuthMethodAwsIamId = "string",
BoundUserIds = new[]
{
"string",
},
BoundRoleIds = new[]
{
"string",
},
BoundUserNames = new[]
{
"string",
},
AccessExpires = 0,
ForceSubClaims = false,
JwtTtl = 0,
Name = "string",
StsUrl = "string",
});
example, err := akeyless.NewAuthMethodAwsIam(ctx, "authMethodAwsIamResource", &akeyless.AuthMethodAwsIamArgs{
BoundAwsAccountIds: pulumi.StringArray{
pulumi.String("string"),
},
BoundRoleNames: pulumi.StringArray{
pulumi.String("string"),
},
DeleteProtection: pulumi.String("string"),
BoundArns: pulumi.StringArray{
pulumi.String("string"),
},
AuditLogsClaims: pulumi.StringArray{
pulumi.String("string"),
},
BoundIps: pulumi.StringArray{
pulumi.String("string"),
},
BoundResourceIds: pulumi.StringArray{
pulumi.String("string"),
},
AuthMethodAwsIamId: pulumi.String("string"),
BoundUserIds: pulumi.StringArray{
pulumi.String("string"),
},
BoundRoleIds: pulumi.StringArray{
pulumi.String("string"),
},
BoundUserNames: pulumi.StringArray{
pulumi.String("string"),
},
AccessExpires: pulumi.Float64(0),
ForceSubClaims: pulumi.Bool(false),
JwtTtl: pulumi.Float64(0),
Name: pulumi.String("string"),
StsUrl: pulumi.String("string"),
})
var authMethodAwsIamResource = new AuthMethodAwsIam("authMethodAwsIamResource", AuthMethodAwsIamArgs.builder()
.boundAwsAccountIds("string")
.boundRoleNames("string")
.deleteProtection("string")
.boundArns("string")
.auditLogsClaims("string")
.boundIps("string")
.boundResourceIds("string")
.authMethodAwsIamId("string")
.boundUserIds("string")
.boundRoleIds("string")
.boundUserNames("string")
.accessExpires(0)
.forceSubClaims(false)
.jwtTtl(0)
.name("string")
.stsUrl("string")
.build());
auth_method_aws_iam_resource = akeyless.AuthMethodAwsIam("authMethodAwsIamResource",
bound_aws_account_ids=["string"],
bound_role_names=["string"],
delete_protection="string",
bound_arns=["string"],
audit_logs_claims=["string"],
bound_ips=["string"],
bound_resource_ids=["string"],
auth_method_aws_iam_id="string",
bound_user_ids=["string"],
bound_role_ids=["string"],
bound_user_names=["string"],
access_expires=0,
force_sub_claims=False,
jwt_ttl=0,
name="string",
sts_url="string")
const authMethodAwsIamResource = new akeyless.AuthMethodAwsIam("authMethodAwsIamResource", {
boundAwsAccountIds: ["string"],
boundRoleNames: ["string"],
deleteProtection: "string",
boundArns: ["string"],
auditLogsClaims: ["string"],
boundIps: ["string"],
boundResourceIds: ["string"],
authMethodAwsIamId: "string",
boundUserIds: ["string"],
boundRoleIds: ["string"],
boundUserNames: ["string"],
accessExpires: 0,
forceSubClaims: false,
jwtTtl: 0,
name: "string",
stsUrl: "string",
});
type: akeyless:AuthMethodAwsIam
properties:
accessExpires: 0
auditLogsClaims:
- string
authMethodAwsIamId: string
boundArns:
- string
boundAwsAccountIds:
- string
boundIps:
- string
boundResourceIds:
- string
boundRoleIds:
- string
boundRoleNames:
- string
boundUserIds:
- string
boundUserNames:
- string
deleteProtection: string
forceSubClaims: false
jwtTtl: 0
name: string
stsUrl: string
AuthMethodAwsIam Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AuthMethodAwsIam resource accepts the following input properties:
- Bound
Aws List<string>Account Ids - A list of AWS account-IDs that the access is restricted to
- Access
Expires double - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- Audit
Logs List<string>Claims - Subclaims to include in audit logs
- Auth
Method stringAws Iam Id - The ID of this resource.
- Bound
Arns List<string> - A list of full arns that the access is restricted to
- Bound
Ips List<string> - A CIDR whitelist with the IPs that the access is restricted to
- Bound
Resource List<string>Ids - A list of full resource ids that the access is restricted to
- Bound
Role List<string>Ids - A list of full role ids that the access is restricted to
- Bound
Role List<string>Names - A list of full role-name that the access is restricted to
- Bound
User List<string>Ids - A list of full user ids that the access is restricted to
- Bound
User List<string>Names - A list of full user-name that the access is restricted to
- Delete
Protection string - Protection from accidental deletion of this auth method, [true/false]
- Force
Sub boolClaims - enforce role-association must include sub claims
- Jwt
Ttl double - Creds expiration time in minutes
- Name string
- Auth Method name
- Sts
Url string - sts URL
- Bound
Aws []stringAccount Ids - A list of AWS account-IDs that the access is restricted to
- Access
Expires float64 - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- Audit
Logs []stringClaims - Subclaims to include in audit logs
- Auth
Method stringAws Iam Id - The ID of this resource.
- Bound
Arns []string - A list of full arns that the access is restricted to
- Bound
Ips []string - A CIDR whitelist with the IPs that the access is restricted to
- Bound
Resource []stringIds - A list of full resource ids that the access is restricted to
- Bound
Role []stringIds - A list of full role ids that the access is restricted to
- Bound
Role []stringNames - A list of full role-name that the access is restricted to
- Bound
User []stringIds - A list of full user ids that the access is restricted to
- Bound
User []stringNames - A list of full user-name that the access is restricted to
- Delete
Protection string - Protection from accidental deletion of this auth method, [true/false]
- Force
Sub boolClaims - enforce role-association must include sub claims
- Jwt
Ttl float64 - Creds expiration time in minutes
- Name string
- Auth Method name
- Sts
Url string - sts URL
- bound
Aws List<String>Account Ids - A list of AWS account-IDs that the access is restricted to
- access
Expires Double - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- audit
Logs List<String>Claims - Subclaims to include in audit logs
- auth
Method StringAws Iam Id - The ID of this resource.
- bound
Arns List<String> - A list of full arns that the access is restricted to
- bound
Ips List<String> - A CIDR whitelist with the IPs that the access is restricted to
- bound
Resource List<String>Ids - A list of full resource ids that the access is restricted to
- bound
Role List<String>Ids - A list of full role ids that the access is restricted to
- bound
Role List<String>Names - A list of full role-name that the access is restricted to
- bound
User List<String>Ids - A list of full user ids that the access is restricted to
- bound
User List<String>Names - A list of full user-name that the access is restricted to
- delete
Protection String - Protection from accidental deletion of this auth method, [true/false]
- force
Sub BooleanClaims - enforce role-association must include sub claims
- jwt
Ttl Double - Creds expiration time in minutes
- name String
- Auth Method name
- sts
Url String - sts URL
- bound
Aws string[]Account Ids - A list of AWS account-IDs that the access is restricted to
- access
Expires number - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- audit
Logs string[]Claims - Subclaims to include in audit logs
- auth
Method stringAws Iam Id - The ID of this resource.
- bound
Arns string[] - A list of full arns that the access is restricted to
- bound
Ips string[] - A CIDR whitelist with the IPs that the access is restricted to
- bound
Resource string[]Ids - A list of full resource ids that the access is restricted to
- bound
Role string[]Ids - A list of full role ids that the access is restricted to
- bound
Role string[]Names - A list of full role-name that the access is restricted to
- bound
User string[]Ids - A list of full user ids that the access is restricted to
- bound
User string[]Names - A list of full user-name that the access is restricted to
- delete
Protection string - Protection from accidental deletion of this auth method, [true/false]
- force
Sub booleanClaims - enforce role-association must include sub claims
- jwt
Ttl number - Creds expiration time in minutes
- name string
- Auth Method name
- sts
Url string - sts URL
- bound_
aws_ Sequence[str]account_ ids - A list of AWS account-IDs that the access is restricted to
- access_
expires float - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- audit_
logs_ Sequence[str]claims - Subclaims to include in audit logs
- auth_
method_ straws_ iam_ id - The ID of this resource.
- bound_
arns Sequence[str] - A list of full arns that the access is restricted to
- bound_
ips Sequence[str] - A CIDR whitelist with the IPs that the access is restricted to
- bound_
resource_ Sequence[str]ids - A list of full resource ids that the access is restricted to
- bound_
role_ Sequence[str]ids - A list of full role ids that the access is restricted to
- bound_
role_ Sequence[str]names - A list of full role-name that the access is restricted to
- bound_
user_ Sequence[str]ids - A list of full user ids that the access is restricted to
- bound_
user_ Sequence[str]names - A list of full user-name that the access is restricted to
- delete_
protection str - Protection from accidental deletion of this auth method, [true/false]
- force_
sub_ boolclaims - enforce role-association must include sub claims
- jwt_
ttl float - Creds expiration time in minutes
- name str
- Auth Method name
- sts_
url str - sts URL
- bound
Aws List<String>Account Ids - A list of AWS account-IDs that the access is restricted to
- access
Expires Number - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- audit
Logs List<String>Claims - Subclaims to include in audit logs
- auth
Method StringAws Iam Id - The ID of this resource.
- bound
Arns List<String> - A list of full arns that the access is restricted to
- bound
Ips List<String> - A CIDR whitelist with the IPs that the access is restricted to
- bound
Resource List<String>Ids - A list of full resource ids that the access is restricted to
- bound
Role List<String>Ids - A list of full role ids that the access is restricted to
- bound
Role List<String>Names - A list of full role-name that the access is restricted to
- bound
User List<String>Ids - A list of full user ids that the access is restricted to
- bound
User List<String>Names - A list of full user-name that the access is restricted to
- delete
Protection String - Protection from accidental deletion of this auth method, [true/false]
- force
Sub BooleanClaims - enforce role-association must include sub claims
- jwt
Ttl Number - Creds expiration time in minutes
- name String
- Auth Method name
- sts
Url String - sts URL
Outputs
All input properties are implicitly available as output properties. Additionally, the AuthMethodAwsIam resource produces the following output properties:
Look up Existing AuthMethodAwsIam Resource
Get an existing AuthMethodAwsIam resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AuthMethodAwsIamState, opts?: CustomResourceOptions): AuthMethodAwsIam
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_expires: Optional[float] = None,
access_id: Optional[str] = None,
audit_logs_claims: Optional[Sequence[str]] = None,
auth_method_aws_iam_id: Optional[str] = None,
bound_arns: Optional[Sequence[str]] = None,
bound_aws_account_ids: Optional[Sequence[str]] = None,
bound_ips: Optional[Sequence[str]] = None,
bound_resource_ids: Optional[Sequence[str]] = None,
bound_role_ids: Optional[Sequence[str]] = None,
bound_role_names: Optional[Sequence[str]] = None,
bound_user_ids: Optional[Sequence[str]] = None,
bound_user_names: Optional[Sequence[str]] = None,
delete_protection: Optional[str] = None,
force_sub_claims: Optional[bool] = None,
jwt_ttl: Optional[float] = None,
name: Optional[str] = None,
sts_url: Optional[str] = None) -> AuthMethodAwsIam
func GetAuthMethodAwsIam(ctx *Context, name string, id IDInput, state *AuthMethodAwsIamState, opts ...ResourceOption) (*AuthMethodAwsIam, error)
public static AuthMethodAwsIam Get(string name, Input<string> id, AuthMethodAwsIamState? state, CustomResourceOptions? opts = null)
public static AuthMethodAwsIam get(String name, Output<String> id, AuthMethodAwsIamState state, CustomResourceOptions options)
resources: _: type: akeyless:AuthMethodAwsIam get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Expires double - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- Access
Id string - Auth Method access ID
- Audit
Logs List<string>Claims - Subclaims to include in audit logs
- Auth
Method stringAws Iam Id - The ID of this resource.
- Bound
Arns List<string> - A list of full arns that the access is restricted to
- Bound
Aws List<string>Account Ids - A list of AWS account-IDs that the access is restricted to
- Bound
Ips List<string> - A CIDR whitelist with the IPs that the access is restricted to
- Bound
Resource List<string>Ids - A list of full resource ids that the access is restricted to
- Bound
Role List<string>Ids - A list of full role ids that the access is restricted to
- Bound
Role List<string>Names - A list of full role-name that the access is restricted to
- Bound
User List<string>Ids - A list of full user ids that the access is restricted to
- Bound
User List<string>Names - A list of full user-name that the access is restricted to
- Delete
Protection string - Protection from accidental deletion of this auth method, [true/false]
- Force
Sub boolClaims - enforce role-association must include sub claims
- Jwt
Ttl double - Creds expiration time in minutes
- Name string
- Auth Method name
- Sts
Url string - sts URL
- Access
Expires float64 - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- Access
Id string - Auth Method access ID
- Audit
Logs []stringClaims - Subclaims to include in audit logs
- Auth
Method stringAws Iam Id - The ID of this resource.
- Bound
Arns []string - A list of full arns that the access is restricted to
- Bound
Aws []stringAccount Ids - A list of AWS account-IDs that the access is restricted to
- Bound
Ips []string - A CIDR whitelist with the IPs that the access is restricted to
- Bound
Resource []stringIds - A list of full resource ids that the access is restricted to
- Bound
Role []stringIds - A list of full role ids that the access is restricted to
- Bound
Role []stringNames - A list of full role-name that the access is restricted to
- Bound
User []stringIds - A list of full user ids that the access is restricted to
- Bound
User []stringNames - A list of full user-name that the access is restricted to
- Delete
Protection string - Protection from accidental deletion of this auth method, [true/false]
- Force
Sub boolClaims - enforce role-association must include sub claims
- Jwt
Ttl float64 - Creds expiration time in minutes
- Name string
- Auth Method name
- Sts
Url string - sts URL
- access
Expires Double - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- access
Id String - Auth Method access ID
- audit
Logs List<String>Claims - Subclaims to include in audit logs
- auth
Method StringAws Iam Id - The ID of this resource.
- bound
Arns List<String> - A list of full arns that the access is restricted to
- bound
Aws List<String>Account Ids - A list of AWS account-IDs that the access is restricted to
- bound
Ips List<String> - A CIDR whitelist with the IPs that the access is restricted to
- bound
Resource List<String>Ids - A list of full resource ids that the access is restricted to
- bound
Role List<String>Ids - A list of full role ids that the access is restricted to
- bound
Role List<String>Names - A list of full role-name that the access is restricted to
- bound
User List<String>Ids - A list of full user ids that the access is restricted to
- bound
User List<String>Names - A list of full user-name that the access is restricted to
- delete
Protection String - Protection from accidental deletion of this auth method, [true/false]
- force
Sub BooleanClaims - enforce role-association must include sub claims
- jwt
Ttl Double - Creds expiration time in minutes
- name String
- Auth Method name
- sts
Url String - sts URL
- access
Expires number - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- access
Id string - Auth Method access ID
- audit
Logs string[]Claims - Subclaims to include in audit logs
- auth
Method stringAws Iam Id - The ID of this resource.
- bound
Arns string[] - A list of full arns that the access is restricted to
- bound
Aws string[]Account Ids - A list of AWS account-IDs that the access is restricted to
- bound
Ips string[] - A CIDR whitelist with the IPs that the access is restricted to
- bound
Resource string[]Ids - A list of full resource ids that the access is restricted to
- bound
Role string[]Ids - A list of full role ids that the access is restricted to
- bound
Role string[]Names - A list of full role-name that the access is restricted to
- bound
User string[]Ids - A list of full user ids that the access is restricted to
- bound
User string[]Names - A list of full user-name that the access is restricted to
- delete
Protection string - Protection from accidental deletion of this auth method, [true/false]
- force
Sub booleanClaims - enforce role-association must include sub claims
- jwt
Ttl number - Creds expiration time in minutes
- name string
- Auth Method name
- sts
Url string - sts URL
- access_
expires float - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- access_
id str - Auth Method access ID
- audit_
logs_ Sequence[str]claims - Subclaims to include in audit logs
- auth_
method_ straws_ iam_ id - The ID of this resource.
- bound_
arns Sequence[str] - A list of full arns that the access is restricted to
- bound_
aws_ Sequence[str]account_ ids - A list of AWS account-IDs that the access is restricted to
- bound_
ips Sequence[str] - A CIDR whitelist with the IPs that the access is restricted to
- bound_
resource_ Sequence[str]ids - A list of full resource ids that the access is restricted to
- bound_
role_ Sequence[str]ids - A list of full role ids that the access is restricted to
- bound_
role_ Sequence[str]names - A list of full role-name that the access is restricted to
- bound_
user_ Sequence[str]ids - A list of full user ids that the access is restricted to
- bound_
user_ Sequence[str]names - A list of full user-name that the access is restricted to
- delete_
protection str - Protection from accidental deletion of this auth method, [true/false]
- force_
sub_ boolclaims - enforce role-association must include sub claims
- jwt_
ttl float - Creds expiration time in minutes
- name str
- Auth Method name
- sts_
url str - sts URL
- access
Expires Number - Access expiration date in Unix timestamp (select 0 for access without expiry date)
- access
Id String - Auth Method access ID
- audit
Logs List<String>Claims - Subclaims to include in audit logs
- auth
Method StringAws Iam Id - The ID of this resource.
- bound
Arns List<String> - A list of full arns that the access is restricted to
- bound
Aws List<String>Account Ids - A list of AWS account-IDs that the access is restricted to
- bound
Ips List<String> - A CIDR whitelist with the IPs that the access is restricted to
- bound
Resource List<String>Ids - A list of full resource ids that the access is restricted to
- bound
Role List<String>Ids - A list of full role ids that the access is restricted to
- bound
Role List<String>Names - A list of full role-name that the access is restricted to
- bound
User List<String>Ids - A list of full user ids that the access is restricted to
- bound
User List<String>Names - A list of full user-name that the access is restricted to
- delete
Protection String - Protection from accidental deletion of this auth method, [true/false]
- force
Sub BooleanClaims - enforce role-association must include sub claims
- jwt
Ttl Number - Creds expiration time in minutes
- name String
- Auth Method name
- sts
Url String - sts URL
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeyless
Terraform Provider.