This page documents the language specification for the gcp package. If you're looking for help working with the inputs, outputs, or functions of gcp resources in a Pulumi program, please see the resource documentation for examples and API reference.
securitycenter¶
This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-gcp repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-google repo.
- class
pulumi_gcp.securitycenter.Source(resource_name, opts=None, description=None, display_name=None, organization=None, __props__=None, __name__=None, __opts__=None)¶ A Cloud Security Command Center’s (Cloud SCC) finding source. A finding source is an entity or a mechanism that can produce a finding. A source is like a container of findings that come from the same scanner, logger, monitor, etc.
To get more information about Source, see:
How-to Guides
import pulumi import pulumi_gcp as gcp custom_source = gcp.securitycenter.Source("customSource", description="My custom Cloud Security Command Center Finding Source", display_name="My Source", organization="123456789")
- Parameters
resource_name (str) – The name of the resource.
opts (pulumi.ResourceOptions) – Options for the resource.
description (pulumi.Input[str]) – The description of the source (max of 1024 characters).
display_name (pulumi.Input[str]) – The source’s display name. A source’s display name must be unique amongst its siblings, for example, two sources with the same parent can’t share the same display name. The display name must start and end with a letter or digit, may contain letters, digits, spaces, hyphens, and underscores, and can be no longer than 32 characters.
organization (pulumi.Input[str]) – The organization whose Cloud Security Command Center the Source lives in.
description: pulumi.Output[str] = None¶The description of the source (max of 1024 characters).
display_name: pulumi.Output[str] = None¶The source’s display name. A source’s display name must be unique amongst its siblings, for example, two sources with the same parent can’t share the same display name. The display name must start and end with a letter or digit, may contain letters, digits, spaces, hyphens, and underscores, and can be no longer than 32 characters.
name: pulumi.Output[str] = None¶The resource name of this source, in the format ‘organizations/{{organization}}/sources/{{source}}’.
organization: pulumi.Output[str] = None¶The organization whose Cloud Security Command Center the Source lives in.
- static
get(resource_name, id, opts=None, description=None, display_name=None, name=None, organization=None)¶ Get an existing Source resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
description (pulumi.Input[str]) – The description of the source (max of 1024 characters).
display_name (pulumi.Input[str]) – The source’s display name. A source’s display name must be unique amongst its siblings, for example, two sources with the same parent can’t share the same display name. The display name must start and end with a letter or digit, may contain letters, digits, spaces, hyphens, and underscores, and can be no longer than 32 characters.
name (pulumi.Input[str]) – The resource name of this source, in the format ‘organizations/{{organization}}/sources/{{source}}’.
organization (pulumi.Input[str]) – The organization whose Cloud Security Command Center the Source lives in.
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str