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,
host_filters: Optional[Sequence[str]] = None,
is_cspm_enabled: Optional[bool] = None,
is_security_command_center_enabled: Optional[bool] = 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,
HostFilters = new[]
{
"string",
},
IsCspmEnabled = false,
IsSecurityCommandCenterEnabled = false,
ResourceCollectionEnabled = false,
});
example, err := gcp.NewIntegrationSts(ctx, "integrationStsResource", &gcp.IntegrationStsArgs{
ClientEmail: pulumi.String("string"),
AccountTags: pulumi.StringArray{
pulumi.String("string"),
},
Automute: pulumi.Bool(false),
HostFilters: pulumi.StringArray{
pulumi.String("string"),
},
IsCspmEnabled: pulumi.Bool(false),
IsSecurityCommandCenterEnabled: pulumi.Bool(false),
ResourceCollectionEnabled: pulumi.Bool(false),
})
var integrationStsResource = new IntegrationSts("integrationStsResource", IntegrationStsArgs.builder()
.clientEmail("string")
.accountTags("string")
.automute(false)
.hostFilters("string")
.isCspmEnabled(false)
.isSecurityCommandCenterEnabled(false)
.resourceCollectionEnabled(false)
.build());
integration_sts_resource = datadog.gcp.IntegrationSts("integrationStsResource",
client_email="string",
account_tags=["string"],
automute=False,
host_filters=["string"],
is_cspm_enabled=False,
is_security_command_center_enabled=False,
resource_collection_enabled=False)
const integrationStsResource = new datadog.gcp.IntegrationSts("integrationStsResource", {
clientEmail: "string",
accountTags: ["string"],
automute: false,
hostFilters: ["string"],
isCspmEnabled: false,
isSecurityCommandCenterEnabled: false,
resourceCollectionEnabled: false,
});
type: datadog:gcp:IntegrationSts
properties:
accountTags:
- string
automute: false
clientEmail: string
hostFilters:
- string
isCspmEnabled: false
isSecurityCommandCenterEnabled: false
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
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.
- 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
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
. - 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.
- 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
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
. - 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.
- 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
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
. - 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.
- 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
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
. - 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.
- 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_
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
. - 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.
- 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
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
. - 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,
delegate_account_email: Optional[str] = None,
host_filters: Optional[Sequence[str]] = None,
is_cspm_enabled: Optional[bool] = None,
is_security_command_center_enabled: Optional[bool] = 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.
- 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
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
. - 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.
- 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
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
. - 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.
- 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
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
. - 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.
- 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
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
. - 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.
- 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_
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
. - 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.
- 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
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
. - resource
Collection BooleanEnabled - When enabled, Datadog scans for all resources in your GCP environment.
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.