datadog.gcp.IntegrationSts
Explore with Pulumi AI
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:
- Client
Email string - Your service account email address.
- List<string>
- Tags to be associated with GCP metrics and service checks from your account.
- Automute bool
- Silence monitors for expected GCE instance shutdowns.
- Cloud
Run List<string>Revision Filters - Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
- Host
Filters List<string> - Your Host Filters.
- Is
Cspm boolEnabled - Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires
resource_collection_enabled
to also be enabled. - Is
Resource boolChange Collection Enabled - When enabled, Datadog scans for all resource change data in your Google Cloud environment.
- Is
Security boolCommand Center Enabled - 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 List<IntegrationConfigs Sts Metric Namespace Config> - Configuration for a GCP metric namespace.
- Resource
Collection boolEnabled - When enabled, Datadog scans for all resources in your GCP environment.
- Client
Email string - Your service account email address.
- []string
- Tags to be associated with GCP metrics and service checks from your account.
- Automute bool
- Silence monitors for expected GCE instance shutdowns.
- Cloud
Run []stringRevision Filters - Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
- Host
Filters []string - Your Host Filters.
- Is
Cspm boolEnabled - Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires
resource_collection_enabled
to also be enabled. - Is
Resource boolChange Collection Enabled - When enabled, Datadog scans for all resource change data in your Google Cloud environment.
- Is
Security boolCommand Center Enabled - 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 []IntegrationConfigs Sts Metric Namespace Config Args - Configuration for a GCP metric namespace.
- Resource
Collection boolEnabled - When enabled, Datadog scans for all resources in your GCP environment.
- client
Email String - Your service account email address.
- List<String>
- Tags to be associated with GCP metrics and service checks from your account.
- automute Boolean
- Silence monitors for expected GCE instance shutdowns.
- cloud
Run List<String>Revision Filters - Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
- host
Filters List<String> - Your Host Filters.
- is
Cspm BooleanEnabled - Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires
resource_collection_enabled
to also be enabled. - is
Resource BooleanChange Collection Enabled - When enabled, Datadog scans for all resource change data in your Google Cloud environment.
- is
Security BooleanCommand Center Enabled - 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 List<IntegrationConfigs Sts Metric Namespace Config> - Configuration for a GCP metric namespace.
- resource
Collection BooleanEnabled - When enabled, Datadog scans for all resources in your GCP environment.
- client
Email string - Your service account email address.
- string[]
- Tags to be associated with GCP metrics and service checks from your account.
- automute boolean
- Silence monitors for expected GCE instance shutdowns.
- cloud
Run string[]Revision Filters - Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
- host
Filters string[] - Your Host Filters.
- is
Cspm booleanEnabled - Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires
resource_collection_enabled
to also be enabled. - is
Resource booleanChange Collection Enabled - When enabled, Datadog scans for all resource change data in your Google Cloud environment.
- is
Security booleanCommand Center Enabled - 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 IntegrationConfigs Sts Metric Namespace Config[] - Configuration for a GCP metric namespace.
- resource
Collection booleanEnabled - When enabled, Datadog scans for all resources in your GCP environment.
- client_
email str - Your service account email address.
- 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_ Sequence[str]revision_ filters - 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_ boolenabled - Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires
resource_collection_enabled
to also be enabled. - is_
resource_ boolchange_ collection_ enabled - When enabled, Datadog scans for all resource change data in your Google Cloud environment.
- is_
security_ boolcommand_ center_ enabled - 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_ Sequence[Integrationconfigs Sts Metric Namespace Config Args] - Configuration for a GCP metric namespace.
- resource_
collection_ boolenabled - When enabled, Datadog scans for all resources in your GCP environment.
- client
Email String - Your service account email address.
- List<String>
- Tags to be associated with GCP metrics and service checks from your account.
- automute Boolean
- Silence monitors for expected GCE instance shutdowns.
- cloud
Run List<String>Revision Filters - Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
- host
Filters List<String> - Your Host Filters.
- is
Cspm BooleanEnabled - Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires
resource_collection_enabled
to also be enabled. - is
Resource BooleanChange Collection Enabled - When enabled, Datadog scans for all resource change data in your Google Cloud environment.
- is
Security BooleanCommand Center Enabled - 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 List<Property Map>Configs - Configuration for a GCP metric namespace.
- resource
Collection BooleanEnabled - 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:
- Delegate
Account stringEmail - Datadog's STS Delegate Email.
- Id string
- The provider-assigned unique ID for this managed resource.
- Delegate
Account stringEmail - Datadog's STS Delegate Email.
- Id string
- The provider-assigned unique ID for this managed resource.
- delegate
Account StringEmail - Datadog's STS Delegate Email.
- id String
- The provider-assigned unique ID for this managed resource.
- delegate
Account stringEmail - Datadog's STS Delegate Email.
- id string
- The provider-assigned unique ID for this managed resource.
- delegate_
account_ stremail - Datadog's STS Delegate Email.
- id str
- The provider-assigned unique ID for this managed resource.
- delegate
Account StringEmail - 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.
- List<string>
- Tags to be associated with GCP metrics and service checks from your account.
- Automute bool
- Silence monitors for expected GCE instance shutdowns.
- Client
Email string - Your service account email address.
- Cloud
Run List<string>Revision Filters - Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
- Delegate
Account stringEmail - Datadog's STS Delegate Email.
- Host
Filters List<string> - Your Host Filters.
- Is
Cspm boolEnabled - Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires
resource_collection_enabled
to also be enabled. - Is
Resource boolChange Collection Enabled - When enabled, Datadog scans for all resource change data in your Google Cloud environment.
- Is
Security boolCommand Center Enabled - 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 List<IntegrationConfigs Sts Metric Namespace Config> - Configuration for a GCP metric namespace.
- Resource
Collection boolEnabled - When enabled, Datadog scans for all resources in your GCP environment.
- []string
- Tags to be associated with GCP metrics and service checks from your account.
- Automute bool
- Silence monitors for expected GCE instance shutdowns.
- Client
Email string - Your service account email address.
- Cloud
Run []stringRevision Filters - Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
- Delegate
Account stringEmail - Datadog's STS Delegate Email.
- Host
Filters []string - Your Host Filters.
- Is
Cspm boolEnabled - Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires
resource_collection_enabled
to also be enabled. - Is
Resource boolChange Collection Enabled - When enabled, Datadog scans for all resource change data in your Google Cloud environment.
- Is
Security boolCommand Center Enabled - 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 []IntegrationConfigs Sts Metric Namespace Config Args - Configuration for a GCP metric namespace.
- Resource
Collection boolEnabled - When enabled, Datadog scans for all resources in your GCP environment.
- List<String>
- Tags to be associated with GCP metrics and service checks from your account.
- automute Boolean
- Silence monitors for expected GCE instance shutdowns.
- client
Email String - Your service account email address.
- cloud
Run List<String>Revision Filters - Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
- delegate
Account StringEmail - Datadog's STS Delegate Email.
- host
Filters List<String> - Your Host Filters.
- is
Cspm BooleanEnabled - Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires
resource_collection_enabled
to also be enabled. - is
Resource BooleanChange Collection Enabled - When enabled, Datadog scans for all resource change data in your Google Cloud environment.
- is
Security BooleanCommand Center Enabled - 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 List<IntegrationConfigs Sts Metric Namespace Config> - Configuration for a GCP metric namespace.
- resource
Collection BooleanEnabled - When enabled, Datadog scans for all resources in your GCP environment.
- string[]
- Tags to be associated with GCP metrics and service checks from your account.
- automute boolean
- Silence monitors for expected GCE instance shutdowns.
- client
Email string - Your service account email address.
- cloud
Run string[]Revision Filters - Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
- delegate
Account stringEmail - Datadog's STS Delegate Email.
- host
Filters string[] - Your Host Filters.
- is
Cspm booleanEnabled - Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires
resource_collection_enabled
to also be enabled. - is
Resource booleanChange Collection Enabled - When enabled, Datadog scans for all resource change data in your Google Cloud environment.
- is
Security booleanCommand Center Enabled - 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 IntegrationConfigs Sts Metric Namespace Config[] - Configuration for a GCP metric namespace.
- resource
Collection booleanEnabled - When enabled, Datadog scans for all resources in your GCP environment.
- 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_ Sequence[str]revision_ filters - Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
- delegate_
account_ stremail - Datadog's STS Delegate Email.
- host_
filters Sequence[str] - Your Host Filters.
- is_
cspm_ boolenabled - Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires
resource_collection_enabled
to also be enabled. - is_
resource_ boolchange_ collection_ enabled - When enabled, Datadog scans for all resource change data in your Google Cloud environment.
- is_
security_ boolcommand_ center_ enabled - 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_ Sequence[Integrationconfigs Sts Metric Namespace Config Args] - Configuration for a GCP metric namespace.
- resource_
collection_ boolenabled - When enabled, Datadog scans for all resources in your GCP environment.
- List<String>
- Tags to be associated with GCP metrics and service checks from your account.
- automute Boolean
- Silence monitors for expected GCE instance shutdowns.
- client
Email String - Your service account email address.
- cloud
Run List<String>Revision Filters - Tags to filter which Cloud Run revisions are imported into Datadog. Only revisions that meet specified criteria are monitored.
- delegate
Account StringEmail - Datadog's STS Delegate Email.
- host
Filters List<String> - Your Host Filters.
- is
Cspm BooleanEnabled - Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires
resource_collection_enabled
to also be enabled. - is
Resource BooleanChange Collection Enabled - When enabled, Datadog scans for all resource change data in your Google Cloud environment.
- is
Security BooleanCommand Center Enabled - 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 List<Property Map>Configs - Configuration for a GCP metric namespace.
- resource
Collection BooleanEnabled - When enabled, Datadog scans for all resources in your GCP environment.
Supporting Types
IntegrationStsMetricNamespaceConfig, IntegrationStsMetricNamespaceConfigArgs
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.