v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1473359323.2 KB

Associates the specified service network with the specified resource configuration. This allows the resource configuration to receive connections through the service network, including through a service network VPC endpoint.

post/servicenetworkresourceassociations

Request body

clientTokenstring

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.

resourceConfigurationIdentifierstring required

The ID of the resource configuration to associate with the service network.

serviceNetworkIdentifierstring required

The ID of the service network to associate with the resource configuration.

privateDnsEnabledboolean

Indicates if private DNS is enabled for the service network resource association.

tagsobject

A key-value pair to associate with a resource.

Response

Success

idstring

The ID of the association.

arnstring

The Amazon Resource Name (ARN) of the association.

status'CREATE_IN_PROGRESS' | 'ACTIVE' | 'PARTIAL' | 'DELETE_IN_PROGRESS' | 'CREATE_FAILED' | 'DELETE_FAILED'

The status of the association.

createdBystring

The ID of the account that created the association.

privateDnsEnabledboolean

Indicates if private DNS is is enabled for the service network resource association.