Module securitycenter

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.

Resources

Others

Resources

Resource Source

class Source extends CustomResource

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:

Example Usage - Scc Source Basic

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const customSource = new gcp.securitycenter.Source("customSource", {
    description: "My custom Cloud Security Command Center Finding Source",
    displayName: "My Source",
    organization: "123456789",
});

constructor

new Source(name: string, args: SourceArgs, opts?: pulumi.CustomResourceOptions)

Create a Source resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SourceState, opts?: pulumi.CustomResourceOptions): Source

Get an existing Source resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is Source

Returns true if the given object is an instance of Source. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property description

public description: pulumi.Output<string | undefined>;

The description of the source (max of 1024 characters).

property displayName

public displayName: pulumi.Output<string>;

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.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

The resource name of this source, in the format ‘organizations/{{organization}}/sources/{{source}}’.

property organization

public organization: pulumi.Output<string>;

The organization whose Cloud Security Command Center the Source lives in.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

Others

interface SourceArgs

interface SourceArgs

The set of arguments for constructing a Source resource.

property description

description?: pulumi.Input<string>;

The description of the source (max of 1024 characters).

property displayName

displayName: pulumi.Input<string>;

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.

property organization

organization: pulumi.Input<string>;

The organization whose Cloud Security Command Center the Source lives in.

interface SourceState

interface SourceState

Input properties used for looking up and filtering Source resources.

property description

description?: pulumi.Input<string>;

The description of the source (max of 1024 characters).

property displayName

displayName?: pulumi.Input<string>;

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.

property name

name?: pulumi.Input<string>;

The resource name of this source, in the format ‘organizations/{{organization}}/sources/{{source}}’.

property organization

organization?: pulumi.Input<string>;

The organization whose Cloud Security Command Center the Source lives in.