Package-level declarations

Types

Link copied to clipboard

This snippet creates a service account in a project.

Link copied to clipboard
data class AccountArgs(val accountId: Output<String>? = null, val description: Output<String>? = null, val disabled: Output<Boolean>? = null, val displayName: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<AccountArgs>

This snippet creates a service account in a project.

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

When managing IAM roles, you can treat a service account either as a resource or as an identity. This resource is to add iam policy bindings to a service account resource, such as allowing the members to run operations as or modify the service account. To configure permissions for a service account on other GCP resources, use the google_project_iam set of resources. Three different resources help you manage your IAM policy for a service account. Each of these resources serves a different use case:

Link copied to clipboard
data class IAMBindingArgs(val condition: Output<IAMBindingConditionArgs>? = null, val members: Output<List<String>>? = null, val role: Output<String>? = null, val serviceAccountId: Output<String>? = null) : ConvertibleToJava<IAMBindingArgs>

When managing IAM roles, you can treat a service account either as a resource or as an identity. This resource is to add iam policy bindings to a service account resource, such as allowing the members to run operations as or modify the service account. To configure permissions for a service account on other GCP resources, use the google_project_iam set of resources. Three different resources help you manage your IAM policy for a service account. Each of these resources serves a different use case:

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

When managing IAM roles, you can treat a service account either as a resource or as an identity. This resource is to add iam policy bindings to a service account resource, such as allowing the members to run operations as or modify the service account. To configure permissions for a service account on other GCP resources, use the google_project_iam set of resources. Three different resources help you manage your IAM policy for a service account. Each of these resources serves a different use case:

Link copied to clipboard
data class IAMMemberArgs(val condition: Output<IAMMemberConditionArgs>? = null, val member: Output<String>? = null, val role: Output<String>? = null, val serviceAccountId: Output<String>? = null) : ConvertibleToJava<IAMMemberArgs>

When managing IAM roles, you can treat a service account either as a resource or as an identity. This resource is to add iam policy bindings to a service account resource, such as allowing the members to run operations as or modify the service account. To configure permissions for a service account on other GCP resources, use the google_project_iam set of resources. Three different resources help you manage your IAM policy for a service account. Each of these resources serves a different use case:

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

When managing IAM roles, you can treat a service account either as a resource or as an identity. This resource is to add iam policy bindings to a service account resource, such as allowing the members to run operations as or modify the service account. To configure permissions for a service account on other GCP resources, use the google_project_iam set of resources. Three different resources help you manage your IAM policy for a service account. Each of these resources serves a different use case:

Link copied to clipboard
data class IAMPolicyArgs(val policyData: Output<String>? = null, val serviceAccountId: Output<String>? = null) : ConvertibleToJava<IAMPolicyArgs>

When managing IAM roles, you can treat a service account either as a resource or as an identity. This resource is to add iam policy bindings to a service account resource, such as allowing the members to run operations as or modify the service account. To configure permissions for a service account on other GCP resources, use the google_project_iam set of resources. Three different resources help you manage your IAM policy for a service account. Each of these resources serves a different use case:

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

This resource does not support import.

Link copied to clipboard
data class KeyArgs(val keepers: Output<Map<String, Any>>? = null, val keyAlgorithm: Output<String>? = null, val privateKeyType: Output<String>? = null, val publicKeyData: Output<String>? = null, val publicKeyType: Output<String>? = null, val serviceAccountId: Output<String>? = null) : ConvertibleToJava<KeyArgs>

This resource does not support import.

Link copied to clipboard

Builder for KeyArgs.

Link copied to clipboard
Link copied to clipboard

Builder for Key.

Link copied to clipboard

Functions

Link copied to clipboard
suspend fun accountResource(name: String, block: suspend AccountResourceBuilder.() -> Unit): Account
Link copied to clipboard
suspend fun iAMBindingResource(name: String, block: suspend IAMBindingResourceBuilder.() -> Unit): IAMBinding
Link copied to clipboard
suspend fun iAMMemberResource(name: String, block: suspend IAMMemberResourceBuilder.() -> Unit): IAMMember
Link copied to clipboard
suspend fun iAMPolicyResource(name: String, block: suspend IAMPolicyResourceBuilder.() -> Unit): IAMPolicy
Link copied to clipboard
suspend fun keyResource(name: String, block: suspend KeyResourceBuilder.() -> Unit): Key