Package-level declarations

Types

Link copied to clipboard
class AccessLevel : KotlinCustomResource

An AccessLevel is a label that can be applied to requests to GCP services, along with a list of requirements necessary for the label to be applied. To get more information about AccessLevel, see:

Link copied to clipboard
data class AccessLevelArgs(val basic: Output<AccessLevelBasicArgs>? = null, val custom: Output<AccessLevelCustomArgs>? = null, val description: Output<String>? = null, val name: Output<String>? = null, val parent: Output<String>? = null, val title: Output<String>? = null) : ConvertibleToJava<AccessLevelArgs>

An AccessLevel is a label that can be applied to requests to GCP services, along with a list of requirements necessary for the label to be applied. To get more information about AccessLevel, see:

Link copied to clipboard
Link copied to clipboard
class AccessLevelCondition : KotlinCustomResource

Allows configuring a single access level condition to be appended to an access level's conditions. This resource is intended to be used in cases where it is not possible to compile a full list of conditions to include in a gcp.accesscontextmanager.AccessLevel resource, to enable them to be added separately.

Link copied to clipboard
data class AccessLevelConditionArgs(val accessLevel: Output<String>? = null, val devicePolicy: Output<AccessLevelConditionDevicePolicyArgs>? = null, val ipSubnetworks: Output<List<String>>? = null, val members: Output<List<String>>? = null, val negate: Output<Boolean>? = null, val regions: Output<List<String>>? = null, val requiredAccessLevels: Output<List<String>>? = null) : ConvertibleToJava<AccessLevelConditionArgs>

Allows configuring a single access level condition to be appended to an access level's conditions. This resource is intended to be used in cases where it is not possible to compile a full list of conditions to include in a gcp.accesscontextmanager.AccessLevel resource, to enable them to be added separately.

Link copied to clipboard
Link copied to clipboard
object AccessLevelMapper : ResourceMapper<AccessLevel>
Link copied to clipboard
Link copied to clipboard
class AccessLevels : KotlinCustomResource

Replace all existing Access Levels in an Access Policy with the Access Levels provided. This is done atomically. This is a bulk edit of all Access Levels and may override existing Access Levels created by gcp.accesscontextmanager.AccessLevel, thus causing a permadiff if used alongside gcp.accesscontextmanager.AccessLevel on the same parent. To get more information about AccessLevels, see:

Link copied to clipboard
data class AccessLevelsArgs(val accessLevels: Output<List<AccessLevelsAccessLevelArgs>>? = null, val parent: Output<String>? = null) : ConvertibleToJava<AccessLevelsArgs>

Replace all existing Access Levels in an Access Policy with the Access Levels provided. This is done atomically. This is a bulk edit of all Access Levels and may override existing Access Levels created by gcp.accesscontextmanager.AccessLevel, thus causing a permadiff if used alongside gcp.accesscontextmanager.AccessLevel on the same parent. To get more information about AccessLevels, see:

Link copied to clipboard
Link copied to clipboard
object AccessLevelsMapper : ResourceMapper<AccessLevels>
Link copied to clipboard
Link copied to clipboard
class AccessPolicy : KotlinCustomResource

AccessPolicy is a container for AccessLevels (which define the necessary attributes to use GCP services) and ServicePerimeters (which define regions of services able to freely pass data within a perimeter). An access policy is globally visible within an organization, and the restrictions it specifies apply to all projects within an organization. To get more information about AccessPolicy, see:

Link copied to clipboard
data class AccessPolicyArgs(val parent: Output<String>? = null, val scopes: Output<String>? = null, val title: Output<String>? = null) : ConvertibleToJava<AccessPolicyArgs>

AccessPolicy is a container for AccessLevels (which define the necessary attributes to use GCP services) and ServicePerimeters (which define regions of services able to freely pass data within a perimeter). An access policy is globally visible within an organization, and the restrictions it specifies apply to all projects within an organization. To get more information about AccessPolicy, see:

Link copied to clipboard
Link copied to clipboard
class AccessPolicyIamBinding : KotlinCustomResource

Three different resources help you manage your IAM policy for Access Context Manager (VPC Service Controls) AccessPolicy. Each of these resources serves a different use case:

Link copied to clipboard
data class AccessPolicyIamBindingArgs(val condition: Output<AccessPolicyIamBindingConditionArgs>? = null, val members: Output<List<String>>? = null, val name: Output<String>? = null, val role: Output<String>? = null) : ConvertibleToJava<AccessPolicyIamBindingArgs>

Three different resources help you manage your IAM policy for Access Context Manager (VPC Service Controls) AccessPolicy. Each of these resources serves a different use case:

Link copied to clipboard
Link copied to clipboard
class AccessPolicyIamMember : KotlinCustomResource

Three different resources help you manage your IAM policy for Access Context Manager (VPC Service Controls) AccessPolicy. Each of these resources serves a different use case:

Link copied to clipboard
data class AccessPolicyIamMemberArgs(val condition: Output<AccessPolicyIamMemberConditionArgs>? = null, val member: Output<String>? = null, val name: Output<String>? = null, val role: Output<String>? = null) : ConvertibleToJava<AccessPolicyIamMemberArgs>

Three different resources help you manage your IAM policy for Access Context Manager (VPC Service Controls) AccessPolicy. Each of these resources serves a different use case:

Link copied to clipboard
Link copied to clipboard
class AccessPolicyIamPolicy : KotlinCustomResource

Three different resources help you manage your IAM policy for Access Context Manager (VPC Service Controls) AccessPolicy. Each of these resources serves a different use case:

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

Three different resources help you manage your IAM policy for Access Context Manager (VPC Service Controls) AccessPolicy. Each of these resources serves a different use case:

Link copied to clipboard
Link copied to clipboard
object AccessPolicyMapper : ResourceMapper<AccessPolicy>
Link copied to clipboard
Link copied to clipboard
class AuthorizedOrgsDesc : KotlinCustomResource

An authorized organizations description describes a list of organizations (1) that have been authorized to use certain asset (for example, device) data owned by different organizations at the enforcement points, or (2) with certain asset (for example, device) have been authorized to access the resources in another organization at the enforcement points. To get more information about AuthorizedOrgsDesc, see:

Link copied to clipboard
data class AuthorizedOrgsDescArgs(val assetType: Output<String>? = null, val authorizationDirection: Output<String>? = null, val authorizationType: Output<String>? = null, val name: Output<String>? = null, val orgs: Output<List<String>>? = null, val parent: Output<String>? = null) : ConvertibleToJava<AuthorizedOrgsDescArgs>

An authorized organizations description describes a list of organizations (1) that have been authorized to use certain asset (for example, device) data owned by different organizations at the enforcement points, or (2) with certain asset (for example, device) have been authorized to access the resources in another organization at the enforcement points. To get more information about AuthorizedOrgsDesc, see:

Link copied to clipboard
Link copied to clipboard
class EgressPolicy : KotlinCustomResource

This resource has been deprecated, please refer to ServicePerimeterEgressPolicy. To get more information about EgressPolicy, see:

Link copied to clipboard
data class EgressPolicyArgs(val egressPolicyName: Output<String>? = null, val resource: Output<String>? = null) : ConvertibleToJava<EgressPolicyArgs>

This resource has been deprecated, please refer to ServicePerimeterEgressPolicy. To get more information about EgressPolicy, see:

Link copied to clipboard
Link copied to clipboard
object EgressPolicyMapper : ResourceMapper<EgressPolicy>
Link copied to clipboard
Link copied to clipboard
class GcpUserAccessBinding : KotlinCustomResource

Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access. To get more information about GcpUserAccessBinding, see:

Link copied to clipboard
data class GcpUserAccessBindingArgs(val accessLevels: Output<String>? = null, val groupKey: Output<String>? = null, val organizationId: Output<String>? = null) : ConvertibleToJava<GcpUserAccessBindingArgs>

Restricts access to Cloud Console and Google Cloud APIs for a set of users using Context-Aware Access. To get more information about GcpUserAccessBinding, see:

Link copied to clipboard
Link copied to clipboard
class IngressPolicy : KotlinCustomResource

This resource has been deprecated, please refer to ServicePerimeterIngressPolicy. To get more information about IngressPolicy, see:

Link copied to clipboard
data class IngressPolicyArgs(val ingressPolicyName: Output<String>? = null, val resource: Output<String>? = null) : ConvertibleToJava<IngressPolicyArgs>

This resource has been deprecated, please refer to ServicePerimeterIngressPolicy. To get more information about IngressPolicy, see:

Link copied to clipboard
Link copied to clipboard
object IngressPolicyMapper : ResourceMapper<IngressPolicy>
Link copied to clipboard
Link copied to clipboard
class ServicePerimeter : KotlinCustomResource

ServicePerimeter describes a set of GCP resources which can freely import and export data amongst themselves, but not export outside of the ServicePerimeter. If a request with a source within this ServicePerimeter has a target outside of the ServicePerimeter, the request will be blocked. Otherwise the request is allowed. There are two types of Service Perimeter

Link copied to clipboard
data class ServicePerimeterArgs(val description: Output<String>? = null, val name: Output<String>? = null, val parent: Output<String>? = null, val perimeterType: Output<String>? = null, val spec: Output<ServicePerimeterSpecArgs>? = null, val status: Output<ServicePerimeterStatusArgs>? = null, val title: Output<String>? = null, val useExplicitDryRunSpec: Output<Boolean>? = null) : ConvertibleToJava<ServicePerimeterArgs>

ServicePerimeter describes a set of GCP resources which can freely import and export data amongst themselves, but not export outside of the ServicePerimeter. If a request with a source within this ServicePerimeter has a target outside of the ServicePerimeter, the request will be blocked. Otherwise the request is allowed. There are two types of Service Perimeter

Link copied to clipboard
class ServicePerimeterEgressPolicy : KotlinCustomResource

EgressPolicies match requests based on egressFrom and egressTo stanzas. For an EgressPolicy to match, both egressFrom and egressTo stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). To get more information about ServicePerimeterEgressPolicy, see:

Link copied to clipboard
data class ServicePerimeterEgressPolicyArgs(val egressFrom: Output<ServicePerimeterEgressPolicyEgressFromArgs>? = null, val egressTo: Output<ServicePerimeterEgressPolicyEgressToArgs>? = null, val perimeter: Output<String>? = null) : ConvertibleToJava<ServicePerimeterEgressPolicyArgs>

EgressPolicies match requests based on egressFrom and egressTo stanzas. For an EgressPolicy to match, both egressFrom and egressTo stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). To get more information about ServicePerimeterEgressPolicy, see:

Link copied to clipboard
class ServicePerimeterIngressPolicy : KotlinCustomResource

IngressPolicies match requests based on ingressFrom and ingressTo stanzas. For an ingress policy to match, both the ingressFrom and ingressTo stanzas must be matched. If an IngressPolicy matches a request, the request is allowed through the perimeter boundary from outside the perimeter. For example, access from the internet can be allowed either based on an AccessLevel or, for traffic hosted on Google Cloud, the project of the source network. For access from private networks, using the project of the hosting network is required. Individual ingress policies can be limited by restricting which services and/ or actions they match using the ingressTo field. To get more information about ServicePerimeterIngressPolicy, see:

Link copied to clipboard
data class ServicePerimeterIngressPolicyArgs(val ingressFrom: Output<ServicePerimeterIngressPolicyIngressFromArgs>? = null, val ingressTo: Output<ServicePerimeterIngressPolicyIngressToArgs>? = null, val perimeter: Output<String>? = null) : ConvertibleToJava<ServicePerimeterIngressPolicyArgs>

IngressPolicies match requests based on ingressFrom and ingressTo stanzas. For an ingress policy to match, both the ingressFrom and ingressTo stanzas must be matched. If an IngressPolicy matches a request, the request is allowed through the perimeter boundary from outside the perimeter. For example, access from the internet can be allowed either based on an AccessLevel or, for traffic hosted on Google Cloud, the project of the source network. For access from private networks, using the project of the hosting network is required. Individual ingress policies can be limited by restricting which services and/ or actions they match using the ingressTo field. To get more information about ServicePerimeterIngressPolicy, see:

Link copied to clipboard
object ServicePerimeterMapper : ResourceMapper<ServicePerimeter>
Link copied to clipboard
class ServicePerimeterResource : KotlinCustomResource

Allows configuring a single GCP resource that should be inside of a service perimeter. This resource is intended to be used in cases where it is not possible to compile a full list of projects to include in a gcp.accesscontextmanager.ServicePerimeter resource, to enable them to be added separately.

Link copied to clipboard
data class ServicePerimeterResourceArgs(val perimeterName: Output<String>? = null, val resource: Output<String>? = null) : ConvertibleToJava<ServicePerimeterResourceArgs>

Allows configuring a single GCP resource that should be inside of a service perimeter. This resource is intended to be used in cases where it is not possible to compile a full list of projects to include in a gcp.accesscontextmanager.ServicePerimeter resource, to enable them to be added separately.

Link copied to clipboard
class ServicePerimeters : KotlinCustomResource

Replace all existing Service Perimeters in an Access Policy with the Service Perimeters provided. This is done atomically. This is a bulk edit of all Service Perimeters and may override existing Service Perimeters created by gcp.accesscontextmanager.ServicePerimeter, thus causing a permadiff if used alongside gcp.accesscontextmanager.ServicePerimeter on the same parent. To get more information about ServicePerimeters, see:

Link copied to clipboard
data class ServicePerimetersArgs(val parent: Output<String>? = null, val servicePerimeters: Output<List<ServicePerimetersServicePerimeterArgs>>? = null) : ConvertibleToJava<ServicePerimetersArgs>

Replace all existing Service Perimeters in an Access Policy with the Service Perimeters provided. This is done atomically. This is a bulk edit of all Service Perimeters and may override existing Service Perimeters created by gcp.accesscontextmanager.ServicePerimeter, thus causing a permadiff if used alongside gcp.accesscontextmanager.ServicePerimeter on the same parent. To get more information about ServicePerimeters, see:

Link copied to clipboard
object ServicePerimetersMapper : ResourceMapper<ServicePerimeters>

Functions

Link copied to clipboard
suspend fun accessLevel(name: String, block: suspend AccessLevelResourceBuilder.() -> Unit): AccessLevel
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard