Package-level declarations

Types

Link copied to clipboard

Provides an IAM access key. This is a set of credentials that allow API requests to be made as an IAM user.

Link copied to clipboard
data class AccessKeyArgs(val pgpKey: Output<String>? = null, val status: Output<String>? = null, val user: Output<String>? = null) : ConvertibleToJava<AccessKeyArgs>

Provides an IAM access key. This is a set of credentials that allow API requests to be made as an IAM user.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The current Account Alias can be imported using the account_alias, e.g.,

Link copied to clipboard
data class AccountAliasArgs(val accountAlias: Output<String>? = null) : ConvertibleToJava<AccountAliasArgs>

The current Account Alias can be imported using the account_alias, e.g.,

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

IAM Account Password Policy can be imported using the word iam-account-password-policy, e.g.,

Link copied to clipboard
data class AccountPasswordPolicyArgs(val allowUsersToChangePassword: Output<Boolean>? = null, val hardExpiry: Output<Boolean>? = null, val maxPasswordAge: Output<Int>? = null, val minimumPasswordLength: Output<Int>? = null, val passwordReusePrevention: Output<Int>? = null, val requireLowercaseCharacters: Output<Boolean>? = null, val requireNumbers: Output<Boolean>? = null, val requireSymbols: Output<Boolean>? = null, val requireUppercaseCharacters: Output<Boolean>? = null) : ConvertibleToJava<AccountPasswordPolicyArgs>

IAM Account Password Policy can be imported using the word iam-account-password-policy, e.g.,

Link copied to clipboard

Provides an IAM group.

Link copied to clipboard
data class GroupArgs(val name: Output<String>? = null, val path: Output<String>? = null) : ConvertibleToJava<GroupArgs>

Provides an IAM group.

Link copied to clipboard

Builder for GroupArgs.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class GroupMembershipArgs(val group: Output<String>? = null, val name: Output<String>? = null, val users: Output<List<String>>? = null) : ConvertibleToJava<GroupMembershipArgs>
Link copied to clipboard

Provides an IAM policy attached to a group.

Link copied to clipboard
data class GroupPolicyArgs(val group: Output<String>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val policy: Output<String>? = null) : ConvertibleToJava<GroupPolicyArgs>

Provides an IAM policy attached to a group.

Link copied to clipboard
Link copied to clipboard

Attaches a Managed IAM Policy to an IAM group

Link copied to clipboard
data class GroupPolicyAttachmentArgs(val group: Output<String>? = null, val policyArn: Output<String>? = null) : ConvertibleToJava<GroupPolicyAttachmentArgs>

Attaches a Managed IAM Policy to an IAM group

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Builder for Group.

Link copied to clipboard
Link copied to clipboard

Provides an IAM instance profile.

Link copied to clipboard
data class InstanceProfileArgs(val name: Output<String>? = null, val namePrefix: Output<String>? = null, val path: Output<String>? = null, val role: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<InstanceProfileArgs>

Provides an IAM instance profile.

Link copied to clipboard

Provides an IAM OpenID Connect provider.

Link copied to clipboard
data class OpenIdConnectProviderArgs(val clientIdLists: Output<List<String>>? = null, val tags: Output<Map<String, String>>? = null, val thumbprintLists: Output<List<String>>? = null, val url: Output<String>? = null) : ConvertibleToJava<OpenIdConnectProviderArgs>

Provides an IAM OpenID Connect provider.

Link copied to clipboard

Provides an IAM policy.

Link copied to clipboard
data class PolicyArgs(val description: Output<String>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val path: Output<String>? = null, val policy: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<PolicyArgs>

Provides an IAM policy.

Link copied to clipboard

Builder for PolicyArgs.

Link copied to clipboard

Attaches a Managed IAM Policy to user(s), role(s), and/or group(s) !>WARNING: The aws.iam.PolicyAttachment resource creates exclusive attachments of IAM policies. Across the entire AWS account, all of the users/roles/groups to which a single policy is attached must be declared by a single aws.iam.PolicyAttachment resource. This means that even any users/roles/groups that have the attached policy via any other mechanism (including other resources managed by this provider) will have that attached policy revoked by this resource. Consider aws.iam.RolePolicyAttachment, aws.iam.UserPolicyAttachment, or aws.iam.GroupPolicyAttachment instead. These resources do not enforce exclusive attachment of an IAM policy.

Link copied to clipboard
data class PolicyAttachmentArgs(val groups: Output<List<String>>? = null, val name: Output<String>? = null, val policyArn: Output<String>? = null, val roles: Output<List<String>>? = null, val users: Output<List<String>>? = null) : ConvertibleToJava<PolicyAttachmentArgs>

Attaches a Managed IAM Policy to user(s), role(s), and/or group(s) !>WARNING: The aws.iam.PolicyAttachment resource creates exclusive attachments of IAM policies. Across the entire AWS account, all of the users/roles/groups to which a single policy is attached must be declared by a single aws.iam.PolicyAttachment resource. This means that even any users/roles/groups that have the attached policy via any other mechanism (including other resources managed by this provider) will have that attached policy revoked by this resource. Consider aws.iam.RolePolicyAttachment, aws.iam.UserPolicyAttachment, or aws.iam.GroupPolicyAttachment instead. These resources do not enforce exclusive attachment of an IAM policy.

Link copied to clipboard
Link copied to clipboard

Builder for Policy.

Link copied to clipboard

Provides an IAM role.

Link copied to clipboard
data class RoleArgs(val assumeRolePolicy: Output<String>? = null, val description: Output<String>? = null, val forceDetachPolicies: Output<Boolean>? = null, val inlinePolicies: Output<List<RoleInlinePolicyArgs>>? = null, val managedPolicyArns: Output<List<String>>? = null, val maxSessionDuration: Output<Int>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val path: Output<String>? = null, val permissionsBoundary: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<RoleArgs>

Provides an IAM role.

Link copied to clipboard

Builder for RoleArgs.

Link copied to clipboard
Link copied to clipboard

Provides an IAM role inline policy.

Link copied to clipboard
data class RolePolicyArgs(val name: Output<String>? = null, val namePrefix: Output<String>? = null, val policy: Output<String>? = null, val role: Output<String>? = null) : ConvertibleToJava<RolePolicyArgs>

Provides an IAM role inline policy.

Link copied to clipboard
Link copied to clipboard

Attaches a Managed IAM Policy to an IAM role

Link copied to clipboard
data class RolePolicyAttachmentArgs(val policyArn: Output<String>? = null, val role: Output<String>? = null) : ConvertibleToJava<RolePolicyAttachmentArgs>

Attaches a Managed IAM Policy to an IAM role

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Builder for Role.

Link copied to clipboard

Provides an IAM SAML provider.

Link copied to clipboard
data class SamlProviderArgs(val name: Output<String>? = null, val samlMetadataDocument: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<SamlProviderArgs>

Provides an IAM SAML provider.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Provides an IAM Server Certificate resource to upload Server Certificates. Certs uploaded to IAM can easily work with other AWS services such as:

Link copied to clipboard
data class ServerCertificateArgs(val certificateBody: Output<String>? = null, val certificateChain: Output<String>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val path: Output<String>? = null, val privateKey: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ServerCertificateArgs>

Provides an IAM Server Certificate resource to upload Server Certificates. Certs uploaded to IAM can easily work with other AWS services such as:

Link copied to clipboard
data class ServiceLinkedRoleArgs(val awsServiceName: Output<String>? = null, val customSuffix: Output<String>? = null, val description: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ServiceLinkedRoleArgs>
Link copied to clipboard

Provides an IAM Service Specific Credential.

Link copied to clipboard
data class ServiceSpecificCredentialArgs(val serviceName: Output<String>? = null, val status: Output<String>? = null, val userName: Output<String>? = null) : ConvertibleToJava<ServiceSpecificCredentialArgs>

Provides an IAM Service Specific Credential.

Link copied to clipboard

Provides an IAM Signing Certificate resource to upload Signing Certificates.

Link copied to clipboard
data class SigningCertificateArgs(val certificateBody: Output<String>? = null, val status: Output<String>? = null, val userName: Output<String>? = null) : ConvertibleToJava<SigningCertificateArgs>

Provides an IAM Signing Certificate resource to upload Signing Certificates.

Link copied to clipboard

Uploads an SSH public key and associates it with the specified IAM user.

Link copied to clipboard
data class SshKeyArgs(val encoding: Output<String>? = null, val publicKey: Output<String>? = null, val status: Output<String>? = null, val username: Output<String>? = null) : ConvertibleToJava<SshKeyArgs>

Uploads an SSH public key and associates it with the specified IAM user.

Link copied to clipboard

Builder for SshKeyArgs.

Link copied to clipboard
Link copied to clipboard

Builder for SshKey.

Link copied to clipboard

Provides an IAM user.

Link copied to clipboard
data class UserArgs(val forceDestroy: Output<Boolean>? = null, val name: Output<String>? = null, val path: Output<String>? = null, val permissionsBoundary: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<UserArgs>

Provides an IAM user.

Link copied to clipboard

Builder for UserArgs.

Link copied to clipboard

Provides a resource for adding an IAM User to IAM Groups. This resource can be used multiple times with the same user for non-overlapping groups. To exclusively manage the users in a group, see the aws.iam.GroupMembership resource.

Link copied to clipboard
data class UserGroupMembershipArgs(val groups: Output<List<String>>? = null, val user: Output<String>? = null) : ConvertibleToJava<UserGroupMembershipArgs>

Provides a resource for adding an IAM User to IAM Groups. This resource can be used multiple times with the same user for non-overlapping groups. To exclusively manage the users in a group, see the aws.iam.GroupMembership resource.

Link copied to clipboard

Manages an IAM User Login Profile with limited support for password creation during this provider resource creation. Uses PGP to encrypt the password for safe transport to the user. PGP keys can be obtained from Keybase.

Link copied to clipboard
data class UserLoginProfileArgs(val passwordLength: Output<Int>? = null, val passwordResetRequired: Output<Boolean>? = null, val pgpKey: Output<String>? = null, val user: Output<String>? = null) : ConvertibleToJava<UserLoginProfileArgs>

Manages an IAM User Login Profile with limited support for password creation during this provider resource creation. Uses PGP to encrypt the password for safe transport to the user. PGP keys can be obtained from Keybase.

Link copied to clipboard
Link copied to clipboard

Provides an IAM policy attached to a user.

Link copied to clipboard
data class UserPolicyArgs(val name: Output<String>? = null, val namePrefix: Output<String>? = null, val policy: Output<String>? = null, val user: Output<String>? = null) : ConvertibleToJava<UserPolicyArgs>

Provides an IAM policy attached to a user.

Link copied to clipboard
Link copied to clipboard

Attaches a Managed IAM Policy to an IAM user

Link copied to clipboard
data class UserPolicyAttachmentArgs(val policyArn: Output<String>? = null, val user: Output<String>? = null) : ConvertibleToJava<UserPolicyAttachmentArgs>

Attaches a Managed IAM Policy to an IAM user

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Builder for User.

Link copied to clipboard

Provides an IAM Virtual MFA Device.

Link copied to clipboard
data class VirtualMfaDeviceArgs(val path: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val virtualMfaDeviceName: Output<String>? = null) : ConvertibleToJava<VirtualMfaDeviceArgs>

Provides an IAM Virtual MFA Device.

Functions

Link copied to clipboard
suspend fun accessKeyResource(name: String, block: suspend AccessKeyResourceBuilder.() -> Unit): AccessKey
Link copied to clipboard
suspend fun accountAliasResource(name: String, block: suspend AccountAliasResourceBuilder.() -> Unit): AccountAlias
Link copied to clipboard
Link copied to clipboard
suspend fun groupPolicyResource(name: String, block: suspend GroupPolicyResourceBuilder.() -> Unit): GroupPolicy
Link copied to clipboard
suspend fun groupResource(name: String, block: suspend GroupResourceBuilder.() -> Unit): Group
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun policyResource(name: String, block: suspend PolicyResourceBuilder.() -> Unit): Policy
Link copied to clipboard
suspend fun rolePolicyResource(name: String, block: suspend RolePolicyResourceBuilder.() -> Unit): RolePolicy
Link copied to clipboard
suspend fun roleResource(name: String, block: suspend RoleResourceBuilder.() -> Unit): Role
Link copied to clipboard
suspend fun samlProviderResource(name: String, block: suspend SamlProviderResourceBuilder.() -> Unit): SamlProvider
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun sshKeyResource(name: String, block: suspend SshKeyResourceBuilder.() -> Unit): SshKey
Link copied to clipboard
Link copied to clipboard
suspend fun userPolicyResource(name: String, block: suspend UserPolicyResourceBuilder.() -> Unit): UserPolicy
Link copied to clipboard
suspend fun userResource(name: String, block: suspend UserResourceBuilder.() -> Unit): User
Link copied to clipboard