Fleet cloud connectors

Create cloud connector

Changed on

Spaces method and path for this operation:

<div><span class="operation-verb post">post</span>&nbsp;<span class="operation-path">/s/{space_id}/api/fleet/cloud_connectors</span></div>

Refer to Spaces for more information.

Create a new Fleet cloud connector.<br/><br/>[Required authorization] Route required privileges: fleet-agent-policies-all OR integrations-all.

post/api/fleet/cloud_connectors

Request

  • Base URL
    https://localhost:5601
  • URL
    https://localhost:5601/api/fleet/cloud_connectors
  • Auth
    • API key in header Authorization
    • or HTTP basic

Headers

kbn-xsrfstring required
Example:true

A required header to protect against CSRF attacks

Request body

accountType'single-account' | 'organization-account'

The account type: single-account (single account/subscription) or organization-account (organization-wide).

cloudProvider'aws' | 'azure' | 'gcp' required

The cloud provider type: aws, azure, or gcp.

iac_blueprint_idstring nullable

Identifier of the template source last used for this connector. Set to null to remove it.

iac_blueprint_versionstring nullable

Version of the template source last used for this connector. Set to null to remove it.

iac_deployment_idstring

ARN of the last CloudFormation stack deployed for this connector (arn:<partition>:cloudformation:<region>:<account>:stack/<name>/<id>).

iac_keystring nullable

Checksum of the CloudFormation template last saved on this connector. Set to null to remove it.

namestring required

The name of the cloud connector.

varsobject required

Response

Successful response

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status