AccessApprovalSettings

Create a AccessApprovalSettings Resource

new AccessApprovalSettings(name: string, args: AccessApprovalSettingsArgs, opts?: CustomResourceOptions);
@overload
def AccessApprovalSettings(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           enrolled_services: Optional[Sequence[AccessApprovalSettingsEnrolledServiceArgs]] = None,
                           notification_emails: Optional[Sequence[str]] = None,
                           organization_id: Optional[str] = None)
@overload
def AccessApprovalSettings(resource_name: str,
                           args: AccessApprovalSettingsArgs,
                           opts: Optional[ResourceOptions] = None)
func NewAccessApprovalSettings(ctx *Context, name string, args AccessApprovalSettingsArgs, opts ...ResourceOption) (*AccessApprovalSettings, error)
public AccessApprovalSettings(string name, AccessApprovalSettingsArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args AccessApprovalSettingsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args AccessApprovalSettingsArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AccessApprovalSettingsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AccessApprovalSettingsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

AccessApprovalSettings Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The AccessApprovalSettings resource accepts the following input properties:

EnrolledServices List<AccessApprovalSettingsEnrolledServiceArgs>
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. Enrollment can be done for individual services. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
OrganizationId string
ID of the organization of the access approval settings.
NotificationEmails List<string>
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.
EnrolledServices []AccessApprovalSettingsEnrolledService
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. Enrollment can be done for individual services. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
OrganizationId string
ID of the organization of the access approval settings.
NotificationEmails []string
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.
enrolledServices AccessApprovalSettingsEnrolledServiceArgs[]
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. Enrollment can be done for individual services. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
organizationId string
ID of the organization of the access approval settings.
notificationEmails string[]
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.
enrolled_services Sequence[AccessApprovalSettingsEnrolledServiceArgs]
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. Enrollment can be done for individual services. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
organization_id str
ID of the organization of the access approval settings.
notification_emails Sequence[str]
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.

Outputs

All input properties are implicitly available as output properties. Additionally, the AccessApprovalSettings resource produces the following output properties:

EnrolledAncestor bool
This field will always be unset for the organization since organizations do not have ancestors.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The resource name of the settings. Format is “organizations/{organization_id}/accessApprovalSettings”
EnrolledAncestor bool
This field will always be unset for the organization since organizations do not have ancestors.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The resource name of the settings. Format is “organizations/{organization_id}/accessApprovalSettings”
enrolledAncestor boolean
This field will always be unset for the organization since organizations do not have ancestors.
id string
The provider-assigned unique ID for this managed resource.
name string
The resource name of the settings. Format is “organizations/{organization_id}/accessApprovalSettings”
enrolled_ancestor bool
This field will always be unset for the organization since organizations do not have ancestors.
id str
The provider-assigned unique ID for this managed resource.
name str
The resource name of the settings. Format is “organizations/{organization_id}/accessApprovalSettings”

Look up an Existing AccessApprovalSettings Resource

Get an existing AccessApprovalSettings 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?: AccessApprovalSettingsState, opts?: CustomResourceOptions): AccessApprovalSettings
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        enrolled_ancestor: Optional[bool] = None,
        enrolled_services: Optional[Sequence[AccessApprovalSettingsEnrolledServiceArgs]] = None,
        name: Optional[str] = None,
        notification_emails: Optional[Sequence[str]] = None,
        organization_id: Optional[str] = None) -> AccessApprovalSettings
func GetAccessApprovalSettings(ctx *Context, name string, id IDInput, state *AccessApprovalSettingsState, opts ...ResourceOption) (*AccessApprovalSettings, error)
public static AccessApprovalSettings Get(string name, Input<string> id, AccessApprovalSettingsState? 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:

EnrolledAncestor bool
This field will always be unset for the organization since organizations do not have ancestors.
EnrolledServices List<AccessApprovalSettingsEnrolledServiceArgs>
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. Enrollment can be done for individual services. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
Name string
The resource name of the settings. Format is “organizations/{organization_id}/accessApprovalSettings”
NotificationEmails List<string>
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.
OrganizationId string
ID of the organization of the access approval settings.
EnrolledAncestor bool
This field will always be unset for the organization since organizations do not have ancestors.
EnrolledServices []AccessApprovalSettingsEnrolledService
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. Enrollment can be done for individual services. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
Name string
The resource name of the settings. Format is “organizations/{organization_id}/accessApprovalSettings”
NotificationEmails []string
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.
OrganizationId string
ID of the organization of the access approval settings.
enrolledAncestor boolean
This field will always be unset for the organization since organizations do not have ancestors.
enrolledServices AccessApprovalSettingsEnrolledServiceArgs[]
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. Enrollment can be done for individual services. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
name string
The resource name of the settings. Format is “organizations/{organization_id}/accessApprovalSettings”
notificationEmails string[]
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.
organizationId string
ID of the organization of the access approval settings.
enrolled_ancestor bool
This field will always be unset for the organization since organizations do not have ancestors.
enrolled_services Sequence[AccessApprovalSettingsEnrolledServiceArgs]
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. Enrollment can be done for individual services. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
name str
The resource name of the settings. Format is “organizations/{organization_id}/accessApprovalSettings”
notification_emails Sequence[str]
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.
organization_id str
ID of the organization of the access approval settings.

Supporting Types

AccessApprovalSettingsEnrolledService

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.