VPCLattice / Client / get_resource_configuration
get_resource_configuration¶
- VPCLattice.Client.get_resource_configuration(**kwargs)¶
- Retrieves information about the specified resource configuration. - See also: AWS API Documentation - Request Syntax- response = client.get_resource_configuration( resourceConfigurationIdentifier='string' ) - Parameters:
- resourceConfigurationIdentifier (string) – - [REQUIRED] - The ID of the resource configuration. 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'id': 'string', 'name': 'string', 'arn': 'string', 'resourceGatewayId': 'string', 'resourceConfigurationGroupId': 'string', 'type': 'GROUP'|'CHILD'|'SINGLE'|'ARN', 'allowAssociationToShareableServiceNetwork': True|False, 'portRanges': [ 'string', ], 'protocol': 'TCP', 'customDomainName': 'string', 'status': 'ACTIVE'|'CREATE_IN_PROGRESS'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'CREATE_FAILED'|'UPDATE_FAILED'|'DELETE_FAILED', 'resourceConfigurationDefinition': { 'dnsResource': { 'domainName': 'string', 'ipAddressType': 'IPV4'|'IPV6'|'DUALSTACK' }, 'ipResource': { 'ipAddress': 'string' }, 'arnResource': { 'arn': 'string' } }, 'createdAt': datetime(2015, 1, 1), 'amazonManaged': True|False, 'failureReason': 'string', 'lastUpdatedAt': datetime(2015, 1, 1) } - Response Structure- (dict) – - id (string) – - The ID of the resource configuration. 
- name (string) – - The name of the resource configuration. 
- arn (string) – - The Amazon Resource Name (ARN) of the resource configuration. 
- resourceGatewayId (string) – - The ID of the resource gateway used to connect to the resource configuration in a given VPC. You can specify the resource gateway identifier only for resource configurations with type SINGLE, GROUP, or ARN. 
- resourceConfigurationGroupId (string) – - The ID of the group resource configuration. 
- type (string) – - The type of resource configuration. - SINGLE- A single resource.
- GROUP- A group of resources.
- CHILD- A single resource that is part of a group resource configuration.
- ARN- An Amazon Web Services resource.
 
- allowAssociationToShareableServiceNetwork (boolean) – - Specifies whether the resource configuration is associated with a sharable service network. 
- portRanges (list) – - The TCP port ranges that a consumer can use to access a resource configuration. You can separate port ranges with a comma. Example: 1-65535 or 1,2,22-30 - (string) – 
 
- protocol (string) – - The TCP protocol accepted by the specified resource configuration. 
- customDomainName (string) – - The custom domain name of the resource configuration. 
- status (string) – - The status of the resource configuration. 
- resourceConfigurationDefinition (dict) – - The resource configuration. - Note- This is a Tagged Union structure. Only one of the following top level keys will be set: - dnsResource,- ipResource,- arnResource. If a client receives an unknown member it will set- SDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure of- SDK_UNKNOWN_MEMBERis as follows:- 'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'} - dnsResource (dict) – - The DNS name of the resource. - domainName (string) – - The domain name of the resource. 
- ipAddressType (string) – - The type of IP address. Dualstack is currently not supported. 
 
- ipResource (dict) – - The IP resource. - ipAddress (string) – - The IP address of the IP resource. 
 
- arnResource (dict) – - The Amazon Resource Name (ARN) of the resource. - arn (string) – - The Amazon Resource Name (ARN) of the resource. 
 
 
- createdAt (datetime) – - The date and time that the resource configuration was created, in ISO-8601 format. 
- amazonManaged (boolean) – - Indicates whether the resource configuration was created and is managed by Amazon. 
- failureReason (string) – - The reason the create-resource-configuration request failed. 
- lastUpdatedAt (datetime) – - The most recent date and time that the resource configuration was updated, in ISO-8601 format. 
 
 
 - Exceptions- VPCLattice.Client.exceptions.ValidationException
- VPCLattice.Client.exceptions.AccessDeniedException
- VPCLattice.Client.exceptions.ResourceNotFoundException
- VPCLattice.Client.exceptions.ThrottlingException
- VPCLattice.Client.exceptions.InternalServerException