Package-level declarations

Types

Link copied to clipboard
class AccessKey : KotlinCustomResource

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
object AccessKeyMapper : ResourceMapper<AccessKey>
Link copied to clipboard
Link copied to clipboard
class AccountAlias : KotlinCustomResource

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
object AccountAliasMapper : ResourceMapper<AccountAlias>
Link copied to clipboard
Link copied to clipboard
class AccountPasswordPolicy : KotlinCustomResource

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
Link copied to clipboard
class Group : KotlinCustomResource

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
object GroupMapper : ResourceMapper<Group>
Link copied to clipboard
class GroupMembership : KotlinCustomResource
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
object GroupMembershipMapper : ResourceMapper<GroupMembership>
Link copied to clipboard
class GroupPolicy : KotlinCustomResource

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
class GroupPolicyAttachment : KotlinCustomResource

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
object GroupPolicyMapper : ResourceMapper<GroupPolicy>
Link copied to clipboard
Link copied to clipboard

Builder for Group.

Link copied to clipboard
Link copied to clipboard
class InstanceProfile : KotlinCustomResource

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
object InstanceProfileMapper : ResourceMapper<InstanceProfile>
Link copied to clipboard
class OpenIdConnectProvider : KotlinCustomResource

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
Link copied to clipboard
class Policy : KotlinCustomResource

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
class PolicyAttachment : KotlinCustomResource

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
object PolicyAttachmentMapper : ResourceMapper<PolicyAttachment>
Link copied to clipboard
object PolicyMapper : ResourceMapper<Policy>
Link copied to clipboard

Builder for Policy.

Link copied to clipboard
class Role : KotlinCustomResource

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
object RoleMapper : ResourceMapper<Role>
Link copied to clipboard
class RolePolicy : KotlinCustomResource

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
class RolePolicyAttachment : KotlinCustomResource

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
object RolePolicyMapper : ResourceMapper<RolePolicy>
Link copied to clipboard
Link copied to clipboard

Builder for Role.

Link copied to clipboard
class SamlProvider : KotlinCustomResource

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
object SamlProviderMapper : ResourceMapper<SamlProvider>
Link copied to clipboard
Link copied to clipboard
class ServerCertificate : KotlinCustomResource

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
object ServerCertificateMapper : ResourceMapper<ServerCertificate>
Link copied to clipboard
class ServiceLinkedRole : KotlinCustomResource
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
object ServiceLinkedRoleMapper : ResourceMapper<ServiceLinkedRole>
Link copied to clipboard
class ServiceSpecificCredential : KotlinCustomResource

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
class SigningCertificate : KotlinCustomResource

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
Link copied to clipboard
class SshKey : KotlinCustomResource

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
object SshKeyMapper : ResourceMapper<SshKey>
Link copied to clipboard

Builder for SshKey.

Link copied to clipboard
class User : KotlinCustomResource

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
class UserGroupMembership : KotlinCustomResource

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
Link copied to clipboard
class UserLoginProfile : KotlinCustomResource

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
object UserLoginProfileMapper : ResourceMapper<UserLoginProfile>
Link copied to clipboard
object UserMapper : ResourceMapper<User>
Link copied to clipboard
class UserPolicy : KotlinCustomResource

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
class UserPolicyAttachment : KotlinCustomResource

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
object UserPolicyMapper : ResourceMapper<UserPolicy>
Link copied to clipboard
Link copied to clipboard

Builder for User.

Link copied to clipboard
class VirtualMfaDevice : KotlinCustomResource

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.

Link copied to clipboard
object VirtualMfaDeviceMapper : ResourceMapper<VirtualMfaDevice>

Functions

Link copied to clipboard
suspend fun accessKey(name: String, block: suspend AccessKeyResourceBuilder.() -> Unit): AccessKey
Link copied to clipboard
Link copied to clipboard
fun group(name: String): Group
suspend fun group(name: String, block: suspend GroupResourceBuilder.() -> Unit): Group
Link copied to clipboard
Link copied to clipboard
suspend fun groupPolicy(name: String, block: suspend GroupPolicyResourceBuilder.() -> Unit): GroupPolicy
Link copied to clipboard
Link copied to clipboard
fun policy(name: String): Policy
suspend fun policy(name: String, block: suspend PolicyResourceBuilder.() -> Unit): Policy
Link copied to clipboard
Link copied to clipboard
fun role(name: String): Role
suspend fun role(name: String, block: suspend RoleResourceBuilder.() -> Unit): Role
Link copied to clipboard
suspend fun rolePolicy(name: String, block: suspend RolePolicyResourceBuilder.() -> Unit): RolePolicy
Link copied to clipboard
Link copied to clipboard
fun sshKey(name: String): SshKey
suspend fun sshKey(name: String, block: suspend SshKeyResourceBuilder.() -> Unit): SshKey
Link copied to clipboard
fun user(name: String): User
suspend fun user(name: String, block: suspend UserResourceBuilder.() -> Unit): User
Link copied to clipboard
Link copied to clipboard
suspend fun userPolicy(name: String, block: suspend UserPolicyResourceBuilder.() -> Unit): UserPolicy
Link copied to clipboard