Class AccessContextManagerServicePerimeter.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.access_context_manager_service_perimeter.AccessContextManagerServicePerimeter.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AccessContextManagerServicePerimeter>
- Enclosing class:
- AccessContextManagerServicePerimeter
@Stability(Stable) public static final class AccessContextManagerServicePerimeter.Builder extends Object implements software.amazon.jsii.Builder<AccessContextManagerServicePerimeter>
A fluent builder forAccessContextManagerServicePerimeter.
-
-
Method Summary
-
-
-
Method Detail
-
create
@Stability(Stable) public static AccessContextManagerServicePerimeter.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
AccessContextManagerServicePerimeter.Builder.
-
connection
@Stability(Experimental) public AccessContextManagerServicePerimeter.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public AccessContextManagerServicePerimeter.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public AccessContextManagerServicePerimeter.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public AccessContextManagerServicePerimeter.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public AccessContextManagerServicePerimeter.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public AccessContextManagerServicePerimeter.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public AccessContextManagerServicePerimeter.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public AccessContextManagerServicePerimeter.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public AccessContextManagerServicePerimeter.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
name
@Stability(Stable) public AccessContextManagerServicePerimeter.Builder name(String name)
Resource name for the ServicePerimeter. The short_name component must begin with a letter and only include alphanumeric and '_'. Format: accessPolicies/{policy_id}/servicePerimeters/{short_name}.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_service_perimeter#name AccessContextManagerServicePerimeter#name}
- Parameters:
name- Resource name for the ServicePerimeter. The short_name component must begin with a letter and only include alphanumeric and '_'. Format: accessPolicies/{policy_id}/servicePerimeters/{short_name}. This parameter is required.- Returns:
this
-
parent
@Stability(Stable) public AccessContextManagerServicePerimeter.Builder parent(String parent)
The AccessPolicy this ServicePerimeter lives in. Format: accessPolicies/{policy_id}.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_service_perimeter#parent AccessContextManagerServicePerimeter#parent}
- Parameters:
parent- The AccessPolicy this ServicePerimeter lives in. Format: accessPolicies/{policy_id}. This parameter is required.- Returns:
this
-
title
@Stability(Stable) public AccessContextManagerServicePerimeter.Builder title(String title)
Human readable title. Must be unique within the Policy.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_service_perimeter#title AccessContextManagerServicePerimeter#title}
- Parameters:
title- Human readable title. Must be unique within the Policy. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public AccessContextManagerServicePerimeter.Builder description(String description)
Description of the ServicePerimeter and its use. Does not affect behavior.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_service_perimeter#description AccessContextManagerServicePerimeter#description}
- Parameters:
description- Description of the ServicePerimeter and its use. Does not affect behavior. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public AccessContextManagerServicePerimeter.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_service_perimeter#id AccessContextManagerServicePerimeter#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_service_perimeter#id AccessContextManagerServicePerimeter#id}. This parameter is required.- Returns:
this
-
perimeterType
@Stability(Stable) public AccessContextManagerServicePerimeter.Builder perimeterType(String perimeterType)
Specifies the type of the Perimeter.There are two types: regular and bridge. Regular Service Perimeter contains resources, access levels, and restricted services. Every resource can be in at most ONE regular Service Perimeter. In addition to being in a regular service perimeter, a resource can also be in zero or more perimeter bridges. A perimeter bridge only contains resources. Cross project operations are permitted if all effected resources share some perimeter (whether bridge or regular). Perimeter Bridge does not contain access levels or services: those are governed entirely by the regular perimeter that resource is in. Perimeter Bridges are typically useful when building more complex topologies with many independent perimeters that need to share some data with a common perimeter, but should not be able to share data among themselves. Default value: "PERIMETER_TYPE_REGULAR" Possible values: ["PERIMETER_TYPE_REGULAR", "PERIMETER_TYPE_BRIDGE"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_service_perimeter#perimeter_type AccessContextManagerServicePerimeter#perimeter_type}
- Parameters:
perimeterType- Specifies the type of the Perimeter. This parameter is required.- Returns:
this
-
spec
@Stability(Stable) public AccessContextManagerServicePerimeter.Builder spec(AccessContextManagerServicePerimeterSpec spec)
spec block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_service_perimeter#spec AccessContextManagerServicePerimeter#spec}
- Parameters:
spec- spec block. This parameter is required.- Returns:
this
-
status
@Stability(Stable) public AccessContextManagerServicePerimeter.Builder status(AccessContextManagerServicePerimeterStatus status)
status block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_service_perimeter#status AccessContextManagerServicePerimeter#status}
- Parameters:
status- status block. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public AccessContextManagerServicePerimeter.Builder timeouts(AccessContextManagerServicePerimeterTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_service_perimeter#timeouts AccessContextManagerServicePerimeter#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
useExplicitDryRunSpec
@Stability(Stable) public AccessContextManagerServicePerimeter.Builder useExplicitDryRunSpec(Boolean useExplicitDryRunSpec)
Use explicit dry run spec flag.Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration ("spec") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config ("status") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. useExplicitDryRunSpec must bet set to True if any of the fields in the spec are set to non-default values. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_service_perimeter#use_explicit_dry_run_spec AccessContextManagerServicePerimeter#use_explicit_dry_run_spec}
- Parameters:
useExplicitDryRunSpec- Use explicit dry run spec flag. This parameter is required.- Returns:
this
-
useExplicitDryRunSpec
@Stability(Stable) public AccessContextManagerServicePerimeter.Builder useExplicitDryRunSpec(com.hashicorp.cdktf.IResolvable useExplicitDryRunSpec)
Use explicit dry run spec flag.Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration ("spec") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config ("status") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. useExplicitDryRunSpec must bet set to True if any of the fields in the spec are set to non-default values. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_service_perimeter#use_explicit_dry_run_spec AccessContextManagerServicePerimeter#use_explicit_dry_run_spec}
- Parameters:
useExplicitDryRunSpec- Use explicit dry run spec flag. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public AccessContextManagerServicePerimeter build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AccessContextManagerServicePerimeter>- Returns:
- a newly built instance of
AccessContextManagerServicePerimeter.
-
-