EKS / Client / describe_fargate_profile
describe_fargate_profile#
- EKS.Client.describe_fargate_profile(**kwargs)#
Returns descriptive information about an Fargate profile.
See also: AWS API Documentation
Request Syntax
response = client.describe_fargate_profile( clusterName='string', fargateProfileName='string' )
- Parameters:
clusterName (string) –
[REQUIRED]
The name of the Amazon EKS cluster associated with the Fargate profile.
fargateProfileName (string) –
[REQUIRED]
The name of the Fargate profile to describe.
- Return type:
dict
- Returns:
Response Syntax
{ 'fargateProfile': { 'fargateProfileName': 'string', 'fargateProfileArn': 'string', 'clusterName': 'string', 'createdAt': datetime(2015, 1, 1), 'podExecutionRoleArn': 'string', 'subnets': [ 'string', ], 'selectors': [ { 'namespace': 'string', 'labels': { 'string': 'string' } }, ], 'status': 'CREATING'|'ACTIVE'|'DELETING'|'CREATE_FAILED'|'DELETE_FAILED', 'tags': { 'string': 'string' } } }
Response Structure
(dict) –
fargateProfile (dict) –
The full description of your Fargate profile.
fargateProfileName (string) –
The name of the Fargate profile.
fargateProfileArn (string) –
The full Amazon Resource Name (ARN) of the Fargate profile.
clusterName (string) –
The name of the Amazon EKS cluster that the Fargate profile belongs to.
createdAt (datetime) –
The Unix epoch timestamp in seconds for when the Fargate profile was created.
podExecutionRoleArn (string) –
The Amazon Resource Name (ARN) of the pod execution role to use for pods that match the selectors in the Fargate profile. For more information, see Pod Execution Role in the Amazon EKS User Guide.
subnets (list) –
The IDs of subnets to launch pods into.
(string) –
selectors (list) –
The selectors to match for pods to use this Fargate profile.
(dict) –
An object representing an Fargate profile selector.
namespace (string) –
The Kubernetes namespace that the selector should match.
labels (dict) –
The Kubernetes labels that the selector should match. A pod must contain all of the labels that are specified in the selector for it to be considered a match.
(string) –
(string) –
status (string) –
The current status of the Fargate profile.
tags (dict) –
The metadata applied to the Fargate profile to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Fargate profile tags do not propagate to any other resources associated with the Fargate profile, such as the pods that are scheduled with it.
(string) –
(string) –
Exceptions
EKS.Client.exceptions.InvalidParameterException
EKS.Client.exceptions.ClientException
EKS.Client.exceptions.ServerException
EKS.Client.exceptions.ResourceNotFoundException