1. Packages
  2. Datadog Provider
  3. API Docs
  4. gcp
  5. IntegrationSts
Datadog v4.36.1 published on Friday, Nov 15, 2024 by Pulumi

datadog.gcp.IntegrationSts

Explore with Pulumi AI

datadog logo
Datadog v4.36.1 published on Friday, Nov 15, 2024 by Pulumi

    Provides a Datadog Integration GCP Sts resource. This can be used to create and manage Datadog - Google Cloud Platform integration.

    Create IntegrationSts Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IntegrationSts(name: string, args: IntegrationStsArgs, opts?: CustomResourceOptions);
    @overload
    def IntegrationSts(resource_name: str,
                       args: IntegrationStsArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def IntegrationSts(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       client_email: Optional[str] = None,
                       account_tags: Optional[Sequence[str]] = None,
                       automute: Optional[bool] = None,
                       cloud_run_revision_filters: Optional[Sequence[str]] = None,
                       host_filters: Optional[Sequence[str]] = None,
                       is_cspm_enabled: Optional[bool] = None,
                       is_resource_change_collection_enabled: Optional[bool] = None,
                       is_security_command_center_enabled: Optional[bool] = None,
                       metric_namespace_configs: Optional[Sequence[IntegrationStsMetricNamespaceConfigArgs]] = None,
                       resource_collection_enabled: Optional[bool] = None)
    func NewIntegrationSts(ctx *Context, name string, args IntegrationStsArgs, opts ...ResourceOption) (*IntegrationSts, error)
    public IntegrationSts(string name, IntegrationStsArgs args, CustomResourceOptions? opts = null)
    public IntegrationSts(String name, IntegrationStsArgs args)
    public IntegrationSts(String name, IntegrationStsArgs args, CustomResourceOptions options)
    
    type: datadog:gcp:IntegrationSts
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args IntegrationStsArgs
    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 IntegrationStsArgs
    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 IntegrationStsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IntegrationStsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IntegrationStsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var integrationStsResource = new Datadog.Gcp.IntegrationSts("integrationStsResource", new()
    {
        ClientEmail = "string",
        AccountTags = new[]
        {
            "string",
        },
        Automute = false,
        CloudRunRevisionFilters = new[]
        {
            "string",
        },
        HostFilters = new[]
        {
            "string",
        },
        IsCspmEnabled = false,
        IsResourceChangeCollectionEnabled = false,
        IsSecurityCommandCenterEnabled = false,
        MetricNamespaceConfigs = new[]
        {
            new Datadog.Gcp.Inputs.IntegrationStsMetricNamespaceConfigArgs
            {
                Disabled = false,
                Id = "string",
            },
        },
        ResourceCollectionEnabled = false,
    });
    
    example, err := gcp.NewIntegrationSts(ctx, "integrationStsResource", &gcp.IntegrationStsArgs{
    	ClientEmail: pulumi.String("string"),
    	AccountTags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Automute: pulumi.Bool(false),
    	CloudRunRevisionFilters: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	HostFilters: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	IsCspmEnabled:                     pulumi.Bool(false),
    	IsResourceChangeCollectionEnabled: pulumi.Bool(false),
    	IsSecurityCommandCenterEnabled:    pulumi.Bool(false),
    	MetricNamespaceConfigs: gcp.IntegrationStsMetricNamespaceConfigArray{
    		&gcp.IntegrationStsMetricNamespaceConfigArgs{
    			Disabled: pulumi.Bool(false),
    			Id:       pulumi.String("string"),
    		},
    	},
    	ResourceCollectionEnabled: pulumi.Bool(false),
    })
    
    var integrationStsResource = new IntegrationSts("integrationStsResource", IntegrationStsArgs.builder()
        .clientEmail("string")
        .accountTags("string")
        .automute(false)
        .cloudRunRevisionFilters("string")
        .hostFilters("string")
        .isCspmEnabled(false)
        .isResourceChangeCollectionEnabled(false)
        .isSecurityCommandCenterEnabled(false)
        .metricNamespaceConfigs(IntegrationStsMetricNamespaceConfigArgs.builder()
            .disabled(false)
            .id("string")
            .build())
        .resourceCollectionEnabled(false)
        .build());
    
    integration_sts_resource = datadog.gcp.IntegrationSts("integrationStsResource",
        client_email="string",
        account_tags=["string"],
        automute=False,
        cloud_run_revision_filters=["string"],
        host_filters=["string"],
        is_cspm_enabled=False,
        is_resource_change_collection_enabled=False,
        is_security_command_center_enabled=False,
        metric_namespace_configs=[{
            "disabled": False,
            "id": "string",
        }],
        resource_collection_enabled=False)
    
    const integrationStsResource = new datadog.gcp.IntegrationSts("integrationStsResource", {
        clientEmail: "string",
        accountTags: ["string"],
        automute: false,
        cloudRunRevisionFilters: ["string"],
        hostFilters: ["string"],
        isCspmEnabled: false,
        isResourceChangeCollectionEnabled: false,
        isSecurityCommandCenterEnabled: false,
        metricNamespaceConfigs: [{
            disabled: false,
            id: "string",
        }],
        resourceCollectionEnabled: false,
    });
    
    type: datadog:gcp:IntegrationSts
    properties:
        accountTags:
            - string
        automute: false
        clientEmail: string
        cloudRunRevisionFilters:
            - string
        hostFilters:
            - string
        isCspmEnabled: false
        isResourceChangeCollectionEnabled: false
        isSecurityCommandCenterEnabled: false
        metricNamespaceConfigs:
            - disabled: false
              id: string
        resourceCollectionEnabled: false
    

    IntegrationSts Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The IntegrationSts resource accepts the following input properties:

    ClientEmail string
    Your service account email address.
    AccountTags List<string>
    Tags to be associated with GCP metrics and service checks from your account.
    Automute bool
    Silence monitors for expected GCE instance shutdowns.
    CloudRunRevisionFilters List<string>
    Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
    HostFilters List<string>
    Your Host Filters.
    IsCspmEnabled bool
    Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires resource_collection_enabled to also be enabled.
    IsResourceChangeCollectionEnabled bool
    When enabled, Datadog scans for all resource change data in your Google Cloud environment.
    IsSecurityCommandCenterEnabled bool
    When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to false.
    MetricNamespaceConfigs List<IntegrationStsMetricNamespaceConfig>
    Configuration for a GCP metric namespace.
    ResourceCollectionEnabled bool
    When enabled, Datadog scans for all resources in your GCP environment.
    ClientEmail string
    Your service account email address.
    AccountTags []string
    Tags to be associated with GCP metrics and service checks from your account.
    Automute bool
    Silence monitors for expected GCE instance shutdowns.
    CloudRunRevisionFilters []string
    Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
    HostFilters []string
    Your Host Filters.
    IsCspmEnabled bool
    Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires resource_collection_enabled to also be enabled.
    IsResourceChangeCollectionEnabled bool
    When enabled, Datadog scans for all resource change data in your Google Cloud environment.
    IsSecurityCommandCenterEnabled bool
    When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to false.
    MetricNamespaceConfigs []IntegrationStsMetricNamespaceConfigArgs
    Configuration for a GCP metric namespace.
    ResourceCollectionEnabled bool
    When enabled, Datadog scans for all resources in your GCP environment.
    clientEmail String
    Your service account email address.
    accountTags List<String>
    Tags to be associated with GCP metrics and service checks from your account.
    automute Boolean
    Silence monitors for expected GCE instance shutdowns.
    cloudRunRevisionFilters List<String>
    Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
    hostFilters List<String>
    Your Host Filters.
    isCspmEnabled Boolean
    Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires resource_collection_enabled to also be enabled.
    isResourceChangeCollectionEnabled Boolean
    When enabled, Datadog scans for all resource change data in your Google Cloud environment.
    isSecurityCommandCenterEnabled Boolean
    When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to false.
    metricNamespaceConfigs List<IntegrationStsMetricNamespaceConfig>
    Configuration for a GCP metric namespace.
    resourceCollectionEnabled Boolean
    When enabled, Datadog scans for all resources in your GCP environment.
    clientEmail string
    Your service account email address.
    accountTags string[]
    Tags to be associated with GCP metrics and service checks from your account.
    automute boolean
    Silence monitors for expected GCE instance shutdowns.
    cloudRunRevisionFilters string[]
    Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
    hostFilters string[]
    Your Host Filters.
    isCspmEnabled boolean
    Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires resource_collection_enabled to also be enabled.
    isResourceChangeCollectionEnabled boolean
    When enabled, Datadog scans for all resource change data in your Google Cloud environment.
    isSecurityCommandCenterEnabled boolean
    When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to false.
    metricNamespaceConfigs IntegrationStsMetricNamespaceConfig[]
    Configuration for a GCP metric namespace.
    resourceCollectionEnabled boolean
    When enabled, Datadog scans for all resources in your GCP environment.
    client_email str
    Your service account email address.
    account_tags Sequence[str]
    Tags to be associated with GCP metrics and service checks from your account.
    automute bool
    Silence monitors for expected GCE instance shutdowns.
    cloud_run_revision_filters Sequence[str]
    Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
    host_filters Sequence[str]
    Your Host Filters.
    is_cspm_enabled bool
    Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires resource_collection_enabled to also be enabled.
    is_resource_change_collection_enabled bool
    When enabled, Datadog scans for all resource change data in your Google Cloud environment.
    is_security_command_center_enabled bool
    When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to false.
    metric_namespace_configs Sequence[IntegrationStsMetricNamespaceConfigArgs]
    Configuration for a GCP metric namespace.
    resource_collection_enabled bool
    When enabled, Datadog scans for all resources in your GCP environment.
    clientEmail String
    Your service account email address.
    accountTags List<String>
    Tags to be associated with GCP metrics and service checks from your account.
    automute Boolean
    Silence monitors for expected GCE instance shutdowns.
    cloudRunRevisionFilters List<String>
    Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
    hostFilters List<String>
    Your Host Filters.
    isCspmEnabled Boolean
    Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires resource_collection_enabled to also be enabled.
    isResourceChangeCollectionEnabled Boolean
    When enabled, Datadog scans for all resource change data in your Google Cloud environment.
    isSecurityCommandCenterEnabled Boolean
    When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to false.
    metricNamespaceConfigs List<Property Map>
    Configuration for a GCP metric namespace.
    resourceCollectionEnabled Boolean
    When enabled, Datadog scans for all resources in your GCP environment.

    Outputs

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

    DelegateAccountEmail string
    Datadog's STS Delegate Email.
    Id string
    The provider-assigned unique ID for this managed resource.
    DelegateAccountEmail string
    Datadog's STS Delegate Email.
    Id string
    The provider-assigned unique ID for this managed resource.
    delegateAccountEmail String
    Datadog's STS Delegate Email.
    id String
    The provider-assigned unique ID for this managed resource.
    delegateAccountEmail string
    Datadog's STS Delegate Email.
    id string
    The provider-assigned unique ID for this managed resource.
    delegate_account_email str
    Datadog's STS Delegate Email.
    id str
    The provider-assigned unique ID for this managed resource.
    delegateAccountEmail String
    Datadog's STS Delegate Email.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing IntegrationSts Resource

    Get an existing IntegrationSts 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?: IntegrationStsState, opts?: CustomResourceOptions): IntegrationSts
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_tags: Optional[Sequence[str]] = None,
            automute: Optional[bool] = None,
            client_email: Optional[str] = None,
            cloud_run_revision_filters: Optional[Sequence[str]] = None,
            delegate_account_email: Optional[str] = None,
            host_filters: Optional[Sequence[str]] = None,
            is_cspm_enabled: Optional[bool] = None,
            is_resource_change_collection_enabled: Optional[bool] = None,
            is_security_command_center_enabled: Optional[bool] = None,
            metric_namespace_configs: Optional[Sequence[IntegrationStsMetricNamespaceConfigArgs]] = None,
            resource_collection_enabled: Optional[bool] = None) -> IntegrationSts
    func GetIntegrationSts(ctx *Context, name string, id IDInput, state *IntegrationStsState, opts ...ResourceOption) (*IntegrationSts, error)
    public static IntegrationSts Get(string name, Input<string> id, IntegrationStsState? state, CustomResourceOptions? opts = null)
    public static IntegrationSts get(String name, Output<String> id, IntegrationStsState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    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:
    AccountTags List<string>
    Tags to be associated with GCP metrics and service checks from your account.
    Automute bool
    Silence monitors for expected GCE instance shutdowns.
    ClientEmail string
    Your service account email address.
    CloudRunRevisionFilters List<string>
    Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
    DelegateAccountEmail string
    Datadog's STS Delegate Email.
    HostFilters List<string>
    Your Host Filters.
    IsCspmEnabled bool
    Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires resource_collection_enabled to also be enabled.
    IsResourceChangeCollectionEnabled bool
    When enabled, Datadog scans for all resource change data in your Google Cloud environment.
    IsSecurityCommandCenterEnabled bool
    When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to false.
    MetricNamespaceConfigs List<IntegrationStsMetricNamespaceConfig>
    Configuration for a GCP metric namespace.
    ResourceCollectionEnabled bool
    When enabled, Datadog scans for all resources in your GCP environment.
    AccountTags []string
    Tags to be associated with GCP metrics and service checks from your account.
    Automute bool
    Silence monitors for expected GCE instance shutdowns.
    ClientEmail string
    Your service account email address.
    CloudRunRevisionFilters []string
    Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
    DelegateAccountEmail string
    Datadog's STS Delegate Email.
    HostFilters []string
    Your Host Filters.
    IsCspmEnabled bool
    Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires resource_collection_enabled to also be enabled.
    IsResourceChangeCollectionEnabled bool
    When enabled, Datadog scans for all resource change data in your Google Cloud environment.
    IsSecurityCommandCenterEnabled bool
    When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to false.
    MetricNamespaceConfigs []IntegrationStsMetricNamespaceConfigArgs
    Configuration for a GCP metric namespace.
    ResourceCollectionEnabled bool
    When enabled, Datadog scans for all resources in your GCP environment.
    accountTags List<String>
    Tags to be associated with GCP metrics and service checks from your account.
    automute Boolean
    Silence monitors for expected GCE instance shutdowns.
    clientEmail String
    Your service account email address.
    cloudRunRevisionFilters List<String>
    Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
    delegateAccountEmail String
    Datadog's STS Delegate Email.
    hostFilters List<String>
    Your Host Filters.
    isCspmEnabled Boolean
    Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires resource_collection_enabled to also be enabled.
    isResourceChangeCollectionEnabled Boolean
    When enabled, Datadog scans for all resource change data in your Google Cloud environment.
    isSecurityCommandCenterEnabled Boolean
    When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to false.
    metricNamespaceConfigs List<IntegrationStsMetricNamespaceConfig>
    Configuration for a GCP metric namespace.
    resourceCollectionEnabled Boolean
    When enabled, Datadog scans for all resources in your GCP environment.
    accountTags string[]
    Tags to be associated with GCP metrics and service checks from your account.
    automute boolean
    Silence monitors for expected GCE instance shutdowns.
    clientEmail string
    Your service account email address.
    cloudRunRevisionFilters string[]
    Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
    delegateAccountEmail string
    Datadog's STS Delegate Email.
    hostFilters string[]
    Your Host Filters.
    isCspmEnabled boolean
    Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires resource_collection_enabled to also be enabled.
    isResourceChangeCollectionEnabled boolean
    When enabled, Datadog scans for all resource change data in your Google Cloud environment.
    isSecurityCommandCenterEnabled boolean
    When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to false.
    metricNamespaceConfigs IntegrationStsMetricNamespaceConfig[]
    Configuration for a GCP metric namespace.
    resourceCollectionEnabled boolean
    When enabled, Datadog scans for all resources in your GCP environment.
    account_tags Sequence[str]
    Tags to be associated with GCP metrics and service checks from your account.
    automute bool
    Silence monitors for expected GCE instance shutdowns.
    client_email str
    Your service account email address.
    cloud_run_revision_filters Sequence[str]
    Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
    delegate_account_email str
    Datadog's STS Delegate Email.
    host_filters Sequence[str]
    Your Host Filters.
    is_cspm_enabled bool
    Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires resource_collection_enabled to also be enabled.
    is_resource_change_collection_enabled bool
    When enabled, Datadog scans for all resource change data in your Google Cloud environment.
    is_security_command_center_enabled bool
    When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to false.
    metric_namespace_configs Sequence[IntegrationStsMetricNamespaceConfigArgs]
    Configuration for a GCP metric namespace.
    resource_collection_enabled bool
    When enabled, Datadog scans for all resources in your GCP environment.
    accountTags List<String>
    Tags to be associated with GCP metrics and service checks from your account.
    automute Boolean
    Silence monitors for expected GCE instance shutdowns.
    clientEmail String
    Your service account email address.
    cloudRunRevisionFilters List<String>
    Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
    delegateAccountEmail String
    Datadog's STS Delegate Email.
    hostFilters List<String>
    Your Host Filters.
    isCspmEnabled Boolean
    Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires resource_collection_enabled to also be enabled.
    isResourceChangeCollectionEnabled Boolean
    When enabled, Datadog scans for all resource change data in your Google Cloud environment.
    isSecurityCommandCenterEnabled Boolean
    When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to false.
    metricNamespaceConfigs List<Property Map>
    Configuration for a GCP metric namespace.
    resourceCollectionEnabled Boolean
    When enabled, Datadog scans for all resources in your GCP environment.

    Supporting Types

    IntegrationStsMetricNamespaceConfig, IntegrationStsMetricNamespaceConfigArgs

    Disabled bool
    Id string
    Disabled bool
    Id string
    disabled Boolean
    id String
    disabled boolean
    id string
    disabled bool
    id str
    disabled Boolean
    id String

    Import

    $ pulumi import datadog:gcp/integrationSts:IntegrationSts foo "9c303af3-b963-45e0-8c8f-469b9e1a213f"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Datadog pulumi/pulumi-datadog
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the datadog Terraform Provider.
    datadog logo
    Datadog v4.36.1 published on Friday, Nov 15, 2024 by Pulumi