Package-level declarations

Types

Link copied to clipboard
class Group : KotlinCustomResource

Creates a new group. For information about the number of groups you can create, see Limitations on Entities in the User Guide.

Link copied to clipboard
data class GroupArgs(val groupName: Output<String>? = null, val managedPolicyArns: Output<List<String>>? = null, val path: Output<String>? = null, val policies: Output<List<GroupPolicyArgs>>? = null) : ConvertibleToJava<GroupArgs>

Creates a new group. For information about the number of groups you can create, see Limitations on Entities in the User Guide.

Link copied to clipboard

Builder for GroupArgs.

Link copied to clipboard
object GroupMapper : ResourceMapper<Group>
Link copied to clipboard
class GroupPolicy : KotlinCustomResource

Adds or updates an inline policy document that is embedded in the specified IAM group. A group can also have managed policies attached to it. To attach a managed policy to a group, use AWS::IAM::Group. To create a new managed policy, use AWS::IAM::ManagedPolicy. For information about policies, see Managed policies and inline policies in the IAM User Guide. For information about the maximum number of inline policies that you can embed in a group, see IAM and quotas in the IAM User Guide.

Link copied to clipboard
data class GroupPolicyArgs(val groupName: Output<String>? = null, val policyDocument: Output<Any>? = null, val policyName: Output<String>? = null) : ConvertibleToJava<GroupPolicyArgs>

Adds or updates an inline policy document that is embedded in the specified IAM group. A group can also have managed policies attached to it. To attach a managed policy to a group, use AWS::IAM::Group. To create a new managed policy, use AWS::IAM::ManagedPolicy. For information about policies, see Managed policies and inline policies in the IAM User Guide. For information about the maximum number of inline policies that you can embed in a group, see IAM and quotas in the IAM User Guide.

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

Creates a new instance profile. For information about instance profiles, see Using instance profiles. For information about the number of instance profiles you can create, see object quotas in the User Guide.

Link copied to clipboard
data class InstanceProfileArgs(val instanceProfileName: Output<String>? = null, val path: Output<String>? = null, val roles: Output<List<String>>? = null) : ConvertibleToJava<InstanceProfileArgs>

Creates a new instance profile. For information about instance profiles, see Using instance profiles. For information about the number of instance profiles you can create, see object quotas in the User Guide.

Link copied to clipboard
object InstanceProfileMapper : ResourceMapper<InstanceProfile>
Link copied to clipboard
class ManagedPolicy : KotlinCustomResource

Creates a new managed policy for your AWS-account. This operation creates a policy version with a version identifier of `v1` and sets v1 as the policy's default version. For more information about policy versions, see Versioning for managed policies in the IAM User Guide. As a best practice, you can validate your IAM policies. To learn more, see Validating IAM policies in the IAM User Guide. For more information about managed policies in general, see Managed policies and inline policies in the IAM User Guide.

Link copied to clipboard
data class ManagedPolicyArgs(val description: Output<String>? = null, val groups: Output<List<String>>? = null, val managedPolicyName: Output<String>? = null, val path: Output<String>? = null, val policyDocument: Output<Any>? = null, val roles: Output<List<String>>? = null, val users: Output<List<String>>? = null) : ConvertibleToJava<ManagedPolicyArgs>

Creates a new managed policy for your AWS-account. This operation creates a policy version with a version identifier of `v1` and sets v1 as the policy's default version. For more information about policy versions, see Versioning for managed policies in the IAM User Guide. As a best practice, you can validate your IAM policies. To learn more, see Validating IAM policies in the IAM User Guide. For more information about managed policies in general, see Managed policies and inline policies in the IAM User Guide.

Link copied to clipboard
Link copied to clipboard
object ManagedPolicyMapper : ResourceMapper<ManagedPolicy>
Link copied to clipboard
Link copied to clipboard
class OidcProvider : KotlinCustomResource

Resource Type definition for AWS::IAM::OIDCProvider

Link copied to clipboard
data class OidcProviderArgs(val clientIdList: Output<List<String>>? = null, val tags: Output<List<TagArgs>>? = null, val thumbprintList: Output<List<String>>? = null, val url: Output<String>? = null) : ConvertibleToJava<OidcProviderArgs>

Resource Type definition for AWS::IAM::OIDCProvider

Link copied to clipboard
Link copied to clipboard
object OidcProviderMapper : ResourceMapper<OidcProvider>
Link copied to clipboard
Link copied to clipboard
class Role : KotlinCustomResource

Creates a new role for your AWS-account. For more information about roles, see IAM roles in the IAM User Guide. For information about quotas for role names and the number of roles you can create, see IAM and quotas in the IAM User Guide.

Link copied to clipboard
data class RoleArgs(val assumeRolePolicyDocument: Output<Any>? = null, val description: Output<String>? = null, val managedPolicyArns: Output<List<String>>? = null, val maxSessionDuration: Output<Int>? = null, val path: Output<String>? = null, val permissionsBoundary: Output<String>? = null, val policies: Output<List<RolePolicyArgs>>? = null, val roleName: Output<String>? = null, val tags: Output<List<TagArgs>>? = null) : ConvertibleToJava<RoleArgs>

Creates a new role for your AWS-account. For more information about roles, see IAM roles in the IAM User Guide. For information about quotas for role names and the number of roles you can create, see IAM and quotas in the IAM User Guide.

Link copied to clipboard

Builder for RoleArgs.

Link copied to clipboard
object RoleMapper : ResourceMapper<Role>
Link copied to clipboard
class RolePolicy : KotlinCustomResource

Adds or updates an inline policy document that is embedded in the specified IAM role. When you embed an inline policy in a role, the inline policy is used as part of the role's access (permissions) policy. The role's trust policy is created at the same time as the role, using CreateRole. You can update a role's trust policy using UpdateAssumeRolePolicy. For information about roles, see roles in the IAM User Guide. A role can also have a managed policy attached to it. To attach a managed policy to a role, use AWS::IAM::Role. To create a new managed policy, use AWS::IAM::ManagedPolicy. For information about policies, see Managed policies and inline policies in the IAM User Guide. For information about the maximum number of inline policies that you can embed with a role, see IAM and quotas in the IAM User Guide.

Link copied to clipboard
data class RolePolicyArgs(val policyDocument: Output<Any>? = null, val policyName: Output<String>? = null, val roleName: Output<String>? = null) : ConvertibleToJava<RolePolicyArgs>

Adds or updates an inline policy document that is embedded in the specified IAM role. When you embed an inline policy in a role, the inline policy is used as part of the role's access (permissions) policy. The role's trust policy is created at the same time as the role, using CreateRole. You can update a role's trust policy using UpdateAssumeRolePolicy. For information about roles, see roles in the IAM User Guide. A role can also have a managed policy attached to it. To attach a managed policy to a role, use AWS::IAM::Role. To create a new managed policy, use AWS::IAM::ManagedPolicy. For information about policies, see Managed policies and inline policies in the IAM User Guide. For information about the maximum number of inline policies that you can embed with a role, see IAM and quotas in the IAM User Guide.

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

Resource Type definition for AWS::IAM::SAMLProvider

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

Resource Type definition for AWS::IAM::SAMLProvider

Link copied to clipboard
Link copied to clipboard
object SamlProviderMapper : ResourceMapper<SamlProvider>
Link copied to clipboard
Link copied to clipboard
class ServerCertificate : KotlinCustomResource

Resource Type definition for AWS::IAM::ServerCertificate

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

Resource Type definition for AWS::IAM::ServerCertificate

Link copied to clipboard
object ServerCertificateMapper : ResourceMapper<ServerCertificate>
Link copied to clipboard
class ServiceLinkedRole : KotlinCustomResource

Resource Type definition for AWS::IAM::ServiceLinkedRole

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

Resource Type definition for AWS::IAM::ServiceLinkedRole

Link copied to clipboard
object ServiceLinkedRoleMapper : ResourceMapper<ServiceLinkedRole>
Link copied to clipboard
class User : KotlinCustomResource

Creates a new IAM user for your AWS-account. For information about quotas for the number of IAM users you can create, see IAM and quotas in the IAM User Guide.

Link copied to clipboard
data class UserArgs(val groups: Output<List<String>>? = null, val loginProfile: Output<UserLoginProfileArgs>? = null, val managedPolicyArns: Output<List<String>>? = null, val path: Output<String>? = null, val permissionsBoundary: Output<String>? = null, val policies: Output<List<UserPolicyArgs>>? = null, val tags: Output<List<TagArgs>>? = null, val userName: Output<String>? = null) : ConvertibleToJava<UserArgs>

Creates a new IAM user for your AWS-account. For information about quotas for the number of IAM users you can create, see IAM and quotas in the IAM User Guide.

Link copied to clipboard

Builder for UserArgs.

Link copied to clipboard
object UserMapper : ResourceMapper<User>
Link copied to clipboard
class UserPolicy : KotlinCustomResource

Adds or updates an inline policy document that is embedded in the specified IAM user. An IAM user can also have a managed policy attached to it. To attach a managed policy to a user, use AWS::IAM::User. To create a new managed policy, use AWS::IAM::ManagedPolicy. For information about policies, see Managed policies and inline policies in the IAM User Guide. For information about the maximum number of inline policies that you can embed in a user, see IAM and quotas in the IAM User Guide.

Link copied to clipboard
data class UserPolicyArgs(val policyDocument: Output<Any>? = null, val policyName: Output<String>? = null, val userName: Output<String>? = null) : ConvertibleToJava<UserPolicyArgs>

Adds or updates an inline policy document that is embedded in the specified IAM user. An IAM user can also have a managed policy attached to it. To attach a managed policy to a user, use AWS::IAM::User. To create a new managed policy, use AWS::IAM::ManagedPolicy. For information about policies, see Managed policies and inline policies in the IAM User Guide. For information about the maximum number of inline policies that you can embed in a user, see IAM and quotas in the IAM User Guide.

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

Resource Type definition for AWS::IAM::VirtualMFADevice

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

Resource Type definition for AWS::IAM::VirtualMFADevice

Link copied to clipboard
object VirtualMfaDeviceMapper : ResourceMapper<VirtualMfaDevice>

Functions

Link copied to clipboard
fun group(name: String): Group
suspend fun group(name: String, block: suspend GroupResourceBuilder.() -> Unit): Group
Link copied to clipboard
suspend fun groupPolicy(name: String, block: suspend GroupPolicyResourceBuilder.() -> Unit): GroupPolicy
Link copied to clipboard
Link copied to clipboard
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 user(name: String): User
suspend fun user(name: String, block: suspend UserResourceBuilder.() -> Unit): User
Link copied to clipboard
suspend fun userPolicy(name: String, block: suspend UserPolicyResourceBuilder.() -> Unit): UserPolicy
Link copied to clipboard