Create Connection Group
Initiates a new connection group request, and in response returns a URL under field "deployment_template_url". Upon successfully deploying the cloudformation template retrieved from the URL in the AWS account, the connection-group is created or the request is discarded.
NOTE - The lifecycle of a connection-group is governed by its CloudFormation stack. If the CFT for a connection-group is deleted from AWS, the connection-group is automatically deleted. The deletion does not affect any backups taken nor any connections it managed.
- application/json
Request Body
The body of the request.
- account_native_id string required
The AWS-assigned ID of the account to be associated with the Connection Group.
- asset_types string[] required
The asset types to be connected via the connection-group. Valid values are any of ["EC2/EBS", "RDS", "DynamoDB", "EC2MSSQL", "S3", "EBS"].
NOTE -
- EC2/EBS is required for EC2MSSQL.
- EBS as a value is deprecated in favor of EC2/EBS.
- asset_types_enabled string[]
DEPRECATED, use "asset_types" instead.
The asset types to be connected via the connection-group. Valid values are any of ["EC2/EBS", "RDS", "DynamoDB", "EC2MSSQL", "S3", "EBS"].
NOTE -
- EC2/EBS is required for EC2MSSQL.
- EBS as a value is deprecated in favor of EC2/EBS.
- aws_regions string[] required
The AWS regions to be associated with the Connection Group.
- description string
Description for this connection group.
- master_aws_account_id string required
The AWS Account that manages the connection-group's stack. If the provided master_aws_account_id different than the account_native_id then use service managed permissions while deploying stack.
- master_region string required
The AWS Region that manages the connection-group's stack.
- organizational_unit_id string
The Clumio-assigned ID of the organizational unit associated with the AWS environment. If this parameter is not provided, then the value defaults to the first organizational unit assigned to the requesting user. For more information about organizational units, refer to the Organizational-Units documentation.
- 200
- default
Success
- application/api.clumio.aws-connection-groups=v1+json
- Schema
- Example (from schema)
Schema
- _embedded object
Embedded responses related to the resource.
- _etag string
The ETag value.
_links object
- account_name string
The alias given to the associated account in AWS.
- account_native_ids string[]
The AWS-assigned IDs of the accounts associated with the Connection Group.
- asset_types_enabled string[]
List of asset types connected via the connection-group. Valid values are any of ["EC2/EBS", "RDS", "DynamoDB", "EC2MSSQL", "S3", "EBS"].
NOTE -
- EC2/EBS is required for EC2MSSQL.
- EBS as a value is deprecated in favor of EC2/EBS.
- aws_regions string[]
The AWS regions associated with the with the Connection Group.
config object
- created_timestamp string
The timestamp of when the connection was created.
- deployment_template_url string
Clumio's S3 URL that contains the template to create the required resources in the given account(s) according to the request.
- description string
User-provided description for this connection group.
- external_id string
Clumio assigned external ID for the connection group, should be used while creating the AWS stack.
- id string
The Clumio-assigned ID of the Connection Group, should be used as the token while creating the stack in AWS.
- intended_account_native_ids string[]
The AWS Account IDs that are intended to be associated with the Connection Group.
- intended_asset_types string[]
THe asset types that are intended to be connected via connection-group.
- intended_aws_regions string[]
The AWS regions that are intended to be connected with the Connection Group.
- master_aws_account_id string
The master account which manages the connection-group's stack.
- master_region string
The master region which manages the connection-group's stack.
- ongoing_stack_operation string
Possible values: [
creating_stack
,updating_stack
,deleting_stack
,no_active_operation
]Ongoing Operation of the deployed and active stack of ConnectionGroup.
- organizational_unit_id string
The Clumio-assigned ID of the organizational unit associated with the AWS environment. If this parameter is not provided, then the value defaults to the first organizational unit assigned to the requesting user. For more information about organizational units, refer to the Organizational-Units documentation.
- stack_arn string
The Amazon Resource Name of the installed CloudFormation stack in AWS.
- stack_name string
The name given to the installed CloudFormation stack in AWS.
- status string
Possible values: [
connecting
,fully_connected
,partially_connected
,deployment_failed
,connected_with_no_managed_stacks
,unlinked
]The status of the Connection Group based on the stack in associated AWS account.
{
"_embedded": {},
"_etag": "string",
"_links": {
"_self": {
"href": "string",
"templated": true,
"type": "string"
},
"read-organizational-unit": {
"href": "string",
"templated": true,
"type": "string"
}
},
"account_name": "string",
"account_native_ids": [
"string"
],
"asset_types_enabled": [
"string"
],
"aws_regions": [
"string"
],
"config": {
"asset_types_enabled": [
"string"
],
"dynamodb": {
"installed_template_version": "string"
},
"ebs": {
"installed_template_version": "string"
},
"ec2": {
"installed_template_version": "string"
},
"ec2_mssql": {
"installed_template_version": "string"
},
"installed_template_version": "string",
"rds": {
"installed_template_version": "string"
},
"s3": {
"installed_template_version": "string"
},
"warm_tier_protect": {
"dynamodb": {
"installed_template_version": "string"
},
"installed_template_version": "string"
}
},
"created_timestamp": "string",
"deployment_template_url": "string",
"description": "string",
"external_id": "string",
"id": "string",
"intended_account_native_ids": [
"string"
],
"intended_asset_types": [
"string"
],
"intended_aws_regions": [
"string"
],
"master_aws_account_id": "string",
"master_region": "string",
"ongoing_stack_operation": "creating_stack",
"organizational_unit_id": "string",
"stack_arn": "string",
"stack_name": "string",
"status": "connecting"
}
Error
- application/json
- Schema
- Example (from schema)
Schema
errors object[]
{
"errors": [
{
"error_code": 0,
"error_message": "string"
}
]
}
POST /connections/aws/connection-groups
Authorization
Request
Request
curl -L -X POST 'https://us-west-2.api.clumio.com/connections/aws/connection-groups' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.aws-connection-groups=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"account_native_id": "string",
"asset_types": [
"string"
],
"asset_types_enabled": [
"string"
],
"aws_regions": [
"string"
],
"description": "string",
"master_aws_account_id": "string",
"master_region": "string",
"organizational_unit_id": "string"
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/connections/aws/connection-groups' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.aws-connection-groups=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"account_native_id": "string",
"asset_types": [
"string"
],
"asset_types_enabled": [
"string"
],
"aws_regions": [
"string"
],
"description": "string",
"master_aws_account_id": "string",
"master_region": "string",
"organizational_unit_id": "string"
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/connections/aws/connection-groups' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.aws-connection-groups=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"account_native_id": "string",
"asset_types": [
"string"
],
"asset_types_enabled": [
"string"
],
"aws_regions": [
"string"
],
"description": "string",
"master_aws_account_id": "string",
"master_region": "string",
"organizational_unit_id": "string"
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/connections/aws/connection-groups' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.aws-connection-groups=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"account_native_id": "string",
"asset_types": [
"string"
],
"asset_types_enabled": [
"string"
],
"aws_regions": [
"string"
],
"description": "string",
"master_aws_account_id": "string",
"master_region": "string",
"organizational_unit_id": "string"
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/connections/aws/connection-groups' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.aws-connection-groups=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"account_native_id": "string",
"asset_types": [
"string"
],
"asset_types_enabled": [
"string"
],
"aws_regions": [
"string"
],
"description": "string",
"master_aws_account_id": "string",
"master_region": "string",
"organizational_unit_id": "string"
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/connections/aws/connection-groups' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.aws-connection-groups=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"account_native_id": "string",
"asset_types": [
"string"
],
"asset_types_enabled": [
"string"
],
"aws_regions": [
"string"
],
"description": "string",
"master_aws_account_id": "string",
"master_region": "string",
"organizational_unit_id": "string"
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/connections/aws/connection-groups' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.aws-connection-groups=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"account_native_id": "string",
"asset_types": [
"string"
],
"asset_types_enabled": [
"string"
],
"aws_regions": [
"string"
],
"description": "string",
"master_aws_account_id": "string",
"master_region": "string",
"organizational_unit_id": "string"
}'