ServicePerimeter
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 - Regular and Bridge. Regular Service Perimeters cannot overlap, a single GCP project can only belong to a single regular Service Perimeter. Service Perimeter Bridges can contain only GCP projects as members, a single GCP project may belong to multiple Service Perimeter Bridges.
To get more information about ServicePerimeter, see:
- API documentation
- How-to Guides
Create a ServicePerimeter Resource
new ServicePerimeter(name: string, args: ServicePerimeterArgs, opts?: CustomResourceOptions);def ServicePerimeter(resource_name, opts=None, description=None, name=None, parent=None, perimeter_type=None, spec=None, status=None, title=None, use_explicit_dry_run_spec=None, __props__=None);func NewServicePerimeter(ctx *Context, name string, args ServicePerimeterArgs, opts ...ResourceOption) (*ServicePerimeter, error)public ServicePerimeter(string name, ServicePerimeterArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args ServicePerimeterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ServicePerimeterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServicePerimeterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
ServicePerimeter Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The ServicePerimeter resource accepts the following input properties:
- Parent string
The AccessPolicy this ServicePerimeter lives in. Format: accessPolicies/{policy_id}
- Title string
Human readable title. Must be unique within the Policy.
- Description string
Description of the ServicePerimeter and its use. Does not affect behavior.
- Name string
Resource name for the ServicePerimeter. The shortname component must begin with a letter and only include alphanumeric and ‘’. Format: accessPolicies/{policy_id}/servicePerimeters/{short_name}
- Perimeter
Type string 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.
- Spec
Service
Perimeter Spec Args Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the
useExplicitDryRunSpecflag is set. Structure is documented below.- Status
Service
Perimeter Status Args ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries. Structure is documented below.
- Use
Explicit boolDry Run Spec 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.
- Parent string
The AccessPolicy this ServicePerimeter lives in. Format: accessPolicies/{policy_id}
- Title string
Human readable title. Must be unique within the Policy.
- Description string
Description of the ServicePerimeter and its use. Does not affect behavior.
- Name string
Resource name for the ServicePerimeter. The shortname component must begin with a letter and only include alphanumeric and ‘’. Format: accessPolicies/{policy_id}/servicePerimeters/{short_name}
- Perimeter
Type string 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.
- Spec
Service
Perimeter Spec Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the
useExplicitDryRunSpecflag is set. Structure is documented below.- Status
Service
Perimeter Status ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries. Structure is documented below.
- Use
Explicit boolDry Run Spec 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.
- parent string
The AccessPolicy this ServicePerimeter lives in. Format: accessPolicies/{policy_id}
- title string
Human readable title. Must be unique within the Policy.
- description string
Description of the ServicePerimeter and its use. Does not affect behavior.
- name string
Resource name for the ServicePerimeter. The shortname component must begin with a letter and only include alphanumeric and ‘’. Format: accessPolicies/{policy_id}/servicePerimeters/{short_name}
- perimeter
Type string 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.
- spec
Service
Perimeter Spec Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the
useExplicitDryRunSpecflag is set. Structure is documented below.- status
Service
Perimeter Status ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries. Structure is documented below.
- use
Explicit booleanDry Run Spec 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.
- parent str
The AccessPolicy this ServicePerimeter lives in. Format: accessPolicies/{policy_id}
- title str
Human readable title. Must be unique within the Policy.
- description str
Description of the ServicePerimeter and its use. Does not affect behavior.
- name str
Resource name for the ServicePerimeter. The shortname component must begin with a letter and only include alphanumeric and ‘’. Format: accessPolicies/{policy_id}/servicePerimeters/{short_name}
- perimeter_
type str 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.
- spec
Dict[Service
Perimeter Spec] Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the
useExplicitDryRunSpecflag is set. Structure is documented below.- status
Dict[Service
Perimeter Status] ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries. Structure is documented below.
- use_
explicit_ booldry_ run_ spec 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the ServicePerimeter resource produces the following output properties:
- Create
Time string Time the AccessPolicy was created in UTC.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string Time the AccessPolicy was updated in UTC.
- Create
Time string Time the AccessPolicy was created in UTC.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string Time the AccessPolicy was updated in UTC.
- create
Time string Time the AccessPolicy was created in UTC.
- id string
- The provider-assigned unique ID for this managed resource.
- update
Time string Time the AccessPolicy was updated in UTC.
- create_
time str Time the AccessPolicy was created in UTC.
- id str
- The provider-assigned unique ID for this managed resource.
- update_
time str Time the AccessPolicy was updated in UTC.
Look up an Existing ServicePerimeter Resource
Get an existing ServicePerimeter resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ServicePerimeterState, opts?: CustomResourceOptions): ServicePerimeterstatic get(resource_name, id, opts=None, create_time=None, description=None, name=None, parent=None, perimeter_type=None, spec=None, status=None, title=None, update_time=None, use_explicit_dry_run_spec=None, __props__=None);func GetServicePerimeter(ctx *Context, name string, id IDInput, state *ServicePerimeterState, opts ...ResourceOption) (*ServicePerimeter, error)public static ServicePerimeter Get(string name, Input<string> id, ServicePerimeterState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Create
Time string Time the AccessPolicy was created in UTC.
- Description string
Description of the ServicePerimeter and its use. Does not affect behavior.
- Name string
Resource name for the ServicePerimeter. The shortname component must begin with a letter and only include alphanumeric and ‘’. Format: accessPolicies/{policy_id}/servicePerimeters/{short_name}
- Parent string
The AccessPolicy this ServicePerimeter lives in. Format: accessPolicies/{policy_id}
- Perimeter
Type string 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.
- Spec
Service
Perimeter Spec Args Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the
useExplicitDryRunSpecflag is set. Structure is documented below.- Status
Service
Perimeter Status Args ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries. Structure is documented below.
- Title string
Human readable title. Must be unique within the Policy.
- Update
Time string Time the AccessPolicy was updated in UTC.
- Use
Explicit boolDry Run Spec 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.
- Create
Time string Time the AccessPolicy was created in UTC.
- Description string
Description of the ServicePerimeter and its use. Does not affect behavior.
- Name string
Resource name for the ServicePerimeter. The shortname component must begin with a letter and only include alphanumeric and ‘’. Format: accessPolicies/{policy_id}/servicePerimeters/{short_name}
- Parent string
The AccessPolicy this ServicePerimeter lives in. Format: accessPolicies/{policy_id}
- Perimeter
Type string 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.
- Spec
Service
Perimeter Spec Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the
useExplicitDryRunSpecflag is set. Structure is documented below.- Status
Service
Perimeter Status ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries. Structure is documented below.
- Title string
Human readable title. Must be unique within the Policy.
- Update
Time string Time the AccessPolicy was updated in UTC.
- Use
Explicit boolDry Run Spec 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.
- create
Time string Time the AccessPolicy was created in UTC.
- description string
Description of the ServicePerimeter and its use. Does not affect behavior.
- name string
Resource name for the ServicePerimeter. The shortname component must begin with a letter and only include alphanumeric and ‘’. Format: accessPolicies/{policy_id}/servicePerimeters/{short_name}
- parent string
The AccessPolicy this ServicePerimeter lives in. Format: accessPolicies/{policy_id}
- perimeter
Type string 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.
- spec
Service
Perimeter Spec Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the
useExplicitDryRunSpecflag is set. Structure is documented below.- status
Service
Perimeter Status ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries. Structure is documented below.
- title string
Human readable title. Must be unique within the Policy.
- update
Time string Time the AccessPolicy was updated in UTC.
- use
Explicit booleanDry Run Spec 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.
- create_
time str Time the AccessPolicy was created in UTC.
- description str
Description of the ServicePerimeter and its use. Does not affect behavior.
- name str
Resource name for the ServicePerimeter. The shortname component must begin with a letter and only include alphanumeric and ‘’. Format: accessPolicies/{policy_id}/servicePerimeters/{short_name}
- parent str
The AccessPolicy this ServicePerimeter lives in. Format: accessPolicies/{policy_id}
- perimeter_
type str 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.
- spec
Dict[Service
Perimeter Spec] Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the
useExplicitDryRunSpecflag is set. Structure is documented below.- status
Dict[Service
Perimeter Status] ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries. Structure is documented below.
- title str
Human readable title. Must be unique within the Policy.
- update_
time str Time the AccessPolicy was updated in UTC.
- use_
explicit_ booldry_ run_ spec 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.
Supporting Types
ServicePerimeterSpec
- Access
Levels List<string> A list of AccessLevel resource names that allow resources within the ServicePerimeter to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel is a syntax error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via GCP calls with request origins within the perimeter. For Service Perimeter Bridge, must be empty. Format: accessPolicies/{policy_id}/accessLevels/{access_level_name}
- Resources List<string>
A list of GCP resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}
- Restricted
Services List<string> GCP services that are subject to the Service Perimeter restrictions. Must contain a list of services. For example, if
storage.googleapis.comis specified, access to the storage buckets inside the perimeter must meet the perimeter’s access restrictions.- Vpc
Accessible ServiceServices Perimeter Spec Vpc Accessible Services Args Specifies how APIs are allowed to communicate within the Service Perimeter. Structure is documented below.
- Access
Levels []string A list of AccessLevel resource names that allow resources within the ServicePerimeter to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel is a syntax error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via GCP calls with request origins within the perimeter. For Service Perimeter Bridge, must be empty. Format: accessPolicies/{policy_id}/accessLevels/{access_level_name}
- Resources []string
A list of GCP resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}
- Restricted
Services []string GCP services that are subject to the Service Perimeter restrictions. Must contain a list of services. For example, if
storage.googleapis.comis specified, access to the storage buckets inside the perimeter must meet the perimeter’s access restrictions.- Vpc
Accessible ServiceServices Perimeter Spec Vpc Accessible Services Specifies how APIs are allowed to communicate within the Service Perimeter. Structure is documented below.
- access
Levels string[] A list of AccessLevel resource names that allow resources within the ServicePerimeter to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel is a syntax error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via GCP calls with request origins within the perimeter. For Service Perimeter Bridge, must be empty. Format: accessPolicies/{policy_id}/accessLevels/{access_level_name}
- resources string[]
A list of GCP resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}
- restricted
Services string[] GCP services that are subject to the Service Perimeter restrictions. Must contain a list of services. For example, if
storage.googleapis.comis specified, access to the storage buckets inside the perimeter must meet the perimeter’s access restrictions.- vpc
Accessible ServiceServices Perimeter Spec Vpc Accessible Services Specifies how APIs are allowed to communicate within the Service Perimeter. Structure is documented below.
- access
Levels List[str] A list of AccessLevel resource names that allow resources within the ServicePerimeter to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel is a syntax error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via GCP calls with request origins within the perimeter. For Service Perimeter Bridge, must be empty. Format: accessPolicies/{policy_id}/accessLevels/{access_level_name}
- resources List[str]
A list of GCP resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}
- restricted
Services List[str] GCP services that are subject to the Service Perimeter restrictions. Must contain a list of services. For example, if
storage.googleapis.comis specified, access to the storage buckets inside the perimeter must meet the perimeter’s access restrictions.- vpc
Accessible Dict[ServiceServices Perimeter Spec Vpc Accessible Services] Specifies how APIs are allowed to communicate within the Service Perimeter. Structure is documented below.
ServicePerimeterSpecVpcAccessibleServices
- Allowed
Services List<string> The list of APIs usable within the Service Perimeter. Must be empty unless
enableRestrictionis True.- Enable
Restriction bool Whether to restrict API calls within the Service Perimeter to the list of APIs specified in ‘allowedServices’.
- Allowed
Services []string The list of APIs usable within the Service Perimeter. Must be empty unless
enableRestrictionis True.- Enable
Restriction bool Whether to restrict API calls within the Service Perimeter to the list of APIs specified in ‘allowedServices’.
- allowed
Services string[] The list of APIs usable within the Service Perimeter. Must be empty unless
enableRestrictionis True.- enable
Restriction boolean Whether to restrict API calls within the Service Perimeter to the list of APIs specified in ‘allowedServices’.
- allowed
Services List[str] The list of APIs usable within the Service Perimeter. Must be empty unless
enableRestrictionis True.- enable
Restriction bool Whether to restrict API calls within the Service Perimeter to the list of APIs specified in ‘allowedServices’.
ServicePerimeterStatus
- Access
Levels List<string> A list of AccessLevel resource names that allow resources within the ServicePerimeter to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel is a syntax error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via GCP calls with request origins within the perimeter. For Service Perimeter Bridge, must be empty. Format: accessPolicies/{policy_id}/accessLevels/{access_level_name}
- Resources List<string>
A list of GCP resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}
- Restricted
Services List<string> GCP services that are subject to the Service Perimeter restrictions. Must contain a list of services. For example, if
storage.googleapis.comis specified, access to the storage buckets inside the perimeter must meet the perimeter’s access restrictions.- Vpc
Accessible ServiceServices Perimeter Status Vpc Accessible Services Args Specifies how APIs are allowed to communicate within the Service Perimeter. Structure is documented below.
- Access
Levels []string A list of AccessLevel resource names that allow resources within the ServicePerimeter to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel is a syntax error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via GCP calls with request origins within the perimeter. For Service Perimeter Bridge, must be empty. Format: accessPolicies/{policy_id}/accessLevels/{access_level_name}
- Resources []string
A list of GCP resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}
- Restricted
Services []string GCP services that are subject to the Service Perimeter restrictions. Must contain a list of services. For example, if
storage.googleapis.comis specified, access to the storage buckets inside the perimeter must meet the perimeter’s access restrictions.- Vpc
Accessible ServiceServices Perimeter Status Vpc Accessible Services Specifies how APIs are allowed to communicate within the Service Perimeter. Structure is documented below.
- access
Levels string[] A list of AccessLevel resource names that allow resources within the ServicePerimeter to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel is a syntax error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via GCP calls with request origins within the perimeter. For Service Perimeter Bridge, must be empty. Format: accessPolicies/{policy_id}/accessLevels/{access_level_name}
- resources string[]
A list of GCP resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}
- restricted
Services string[] GCP services that are subject to the Service Perimeter restrictions. Must contain a list of services. For example, if
storage.googleapis.comis specified, access to the storage buckets inside the perimeter must meet the perimeter’s access restrictions.- vpc
Accessible ServiceServices Perimeter Status Vpc Accessible Services Specifies how APIs are allowed to communicate within the Service Perimeter. Structure is documented below.
- access
Levels List[str] A list of AccessLevel resource names that allow resources within the ServicePerimeter to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel is a syntax error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via GCP calls with request origins within the perimeter. For Service Perimeter Bridge, must be empty. Format: accessPolicies/{policy_id}/accessLevels/{access_level_name}
- resources List[str]
A list of GCP resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}
- restricted
Services List[str] GCP services that are subject to the Service Perimeter restrictions. Must contain a list of services. For example, if
storage.googleapis.comis specified, access to the storage buckets inside the perimeter must meet the perimeter’s access restrictions.- vpc
Accessible Dict[ServiceServices Perimeter Status Vpc Accessible Services] Specifies how APIs are allowed to communicate within the Service Perimeter. Structure is documented below.
ServicePerimeterStatusVpcAccessibleServices
- Allowed
Services List<string> The list of APIs usable within the Service Perimeter. Must be empty unless
enableRestrictionis True.- Enable
Restriction bool Whether to restrict API calls within the Service Perimeter to the list of APIs specified in ‘allowedServices’.
- Allowed
Services []string The list of APIs usable within the Service Perimeter. Must be empty unless
enableRestrictionis True.- Enable
Restriction bool Whether to restrict API calls within the Service Perimeter to the list of APIs specified in ‘allowedServices’.
- allowed
Services string[] The list of APIs usable within the Service Perimeter. Must be empty unless
enableRestrictionis True.- enable
Restriction boolean Whether to restrict API calls within the Service Perimeter to the list of APIs specified in ‘allowedServices’.
- allowed
Services List[str] The list of APIs usable within the Service Perimeter. Must be empty unless
enableRestrictionis True.- enable
Restriction bool Whether to restrict API calls within the Service Perimeter to the list of APIs specified in ‘allowedServices’.
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.