Create an AWS integration

POST {{baseUrl}}/api/v1/integration/aws

Create a Datadog-Amazon Web Services integration. Using the POST method updates your integration configuration by adding your new configuration to the existing one in your Datadog organization. A unique AWS Account ID for role based authentication.

Request Body

{"access_key_id"=>"eiusmod", "account_id"=>"123456789012", "account_specific_namespace_rules"=>{"auto_scaling"=>false, "opswork"=>false}, "cspm_resource_collection_enabled"=>true, "excluded_regions"=>["us-east-1", "us-west-2"], "filter_tags"=>["$KEY:$VALUE"], "host_tags"=>["$KEY:$VALUE"], "metrics_collection_enabled"=>false, "resource_collection_enabled"=>true, "role_name"=>"DatadogAWSIntegrationRole", "secret_access_key"=>"amet et dolore deserunt pariatur"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"external_id":"ex sit ea commodo tempor"}