Package com.hashicorp.cdktf.providers.google.access_context_manager_service_perimeter_dry_run_egress_policy
Class AccessContextManagerServicePerimeterDryRunEgressPolicyEgressTo.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.access_context_manager_service_perimeter_dry_run_egress_policy.AccessContextManagerServicePerimeterDryRunEgressPolicyEgressTo.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AccessContextManagerServicePerimeterDryRunEgressPolicyEgressTo>
- Enclosing interface:
- AccessContextManagerServicePerimeterDryRunEgressPolicyEgressTo
@Stability(Stable) public static final class AccessContextManagerServicePerimeterDryRunEgressPolicyEgressTo.Builder extends Object implements software.amazon.jsii.Builder<AccessContextManagerServicePerimeterDryRunEgressPolicyEgressTo>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessContextManagerServicePerimeterDryRunEgressPolicyEgressTobuild()Builds the configured instance.AccessContextManagerServicePerimeterDryRunEgressPolicyEgressTo.BuilderexternalResources(List<String> externalResources)AccessContextManagerServicePerimeterDryRunEgressPolicyEgressTo.Builderoperations(com.hashicorp.cdktf.IResolvable operations)AccessContextManagerServicePerimeterDryRunEgressPolicyEgressTo.Builderoperations(List<? extends AccessContextManagerServicePerimeterDryRunEgressPolicyEgressToOperations> operations)AccessContextManagerServicePerimeterDryRunEgressPolicyEgressTo.Builderresources(List<String> resources)
-
-
-
Method Detail
-
externalResources
@Stability(Stable) public AccessContextManagerServicePerimeterDryRunEgressPolicyEgressTo.Builder externalResources(List<String> externalResources)
Sets the value ofAccessContextManagerServicePerimeterDryRunEgressPolicyEgressTo.getExternalResources()- Parameters:
externalResources- A list of external resources that are allowed to be accessed. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_service_perimeter_dry_run_egress_policy#external_resources AccessContextManagerServicePerimeterDryRunEgressPolicy#external_resources}- Returns:
this
-
operations
@Stability(Stable) public AccessContextManagerServicePerimeterDryRunEgressPolicyEgressTo.Builder operations(com.hashicorp.cdktf.IResolvable operations)
- Parameters:
operations- operations block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_service_perimeter_dry_run_egress_policy#operations AccessContextManagerServicePerimeterDryRunEgressPolicy#operations}- Returns:
this
-
operations
@Stability(Stable) public AccessContextManagerServicePerimeterDryRunEgressPolicyEgressTo.Builder operations(List<? extends AccessContextManagerServicePerimeterDryRunEgressPolicyEgressToOperations> operations)
- Parameters:
operations- operations block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_service_perimeter_dry_run_egress_policy#operations AccessContextManagerServicePerimeterDryRunEgressPolicy#operations}- Returns:
this
-
resources
@Stability(Stable) public AccessContextManagerServicePerimeterDryRunEgressPolicyEgressTo.Builder resources(List<String> resources)
- Parameters:
resources- A list of resources, currently only projects in the form 'projects/', that match this to stanza. A request matches if it contains a resource in this list. If * is specified for resources, then this 'EgressTo' rule will authorize access to all resources outside the perimeter. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/access_context_manager_service_perimeter_dry_run_egress_policy#resources AccessContextManagerServicePerimeterDryRunEgressPolicy#resources} - Returns:
this
-
build
@Stability(Stable) public AccessContextManagerServicePerimeterDryRunEgressPolicyEgressTo build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AccessContextManagerServicePerimeterDryRunEgressPolicyEgressTo>- Returns:
- a new instance of
AccessContextManagerServicePerimeterDryRunEgressPolicyEgressTo - Throws:
NullPointerException- if any required attribute was not provided
-
-