CfnCapabilityMixinProps
- class aws_cdk.mixins_preview.aws_eks.mixins.CfnCapabilityMixinProps(*, capability_name=None, cluster_name=None, configuration=None, delete_propagation_policy=None, role_arn=None, tags=None, type=None)
Bases:
objectProperties for CfnCapabilityPropsMixin.
- Parameters:
capability_name (
Optional[str]) – A unique name for the capability. The name must be unique within your cluster and can contain alphanumeric characters, hyphens, and underscores.cluster_name (
Optional[str]) – The name of the EKS cluster where you want to create the capability.configuration (
Union[IResolvable,CapabilityConfigurationProperty,Dict[str,Any],None]) – Configuration settings for a capability. The structure of this object varies depending on the capability type.delete_propagation_policy (
Optional[str]) – Specifies how Kubernetes resources managed by the capability should be handled when the capability is deleted. Currently, the only supported value is RETAIN which retains all Kubernetes resources managed by the capability when the capability is deleted.role_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the IAM role that the capability uses to interact with AWS services. This role must have a trust policy that allows the EKS service principal to assume it, and it must have the necessary permissions for the capability type you’re creating.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – An array of key-value pairs to apply to this resource.type (
Optional[str]) – The type of capability to create. Valid values are: ACK (AWS Controllers for Kubernetes, which lets you manage AWS resources directly from Kubernetes), ARGOCD (Argo CD for GitOps-based continuous delivery), or KRO (Kube Resource Orchestrator for composing and managing custom Kubernetes resources).
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-capability.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_eks import mixins as eks_mixins cfn_capability_mixin_props = eks_mixins.CfnCapabilityMixinProps( capability_name="capabilityName", cluster_name="clusterName", configuration=eks_mixins.CfnCapabilityPropsMixin.CapabilityConfigurationProperty( argo_cd=eks_mixins.CfnCapabilityPropsMixin.ArgoCdProperty( aws_idc=eks_mixins.CfnCapabilityPropsMixin.AwsIdcProperty( idc_instance_arn="idcInstanceArn", idc_managed_application_arn="idcManagedApplicationArn", idc_region="idcRegion" ), namespace="namespace", network_access=eks_mixins.CfnCapabilityPropsMixin.NetworkAccessProperty( vpce_ids=["vpceIds"] ), rbac_role_mappings=[eks_mixins.CfnCapabilityPropsMixin.ArgoCdRoleMappingProperty( identities=[eks_mixins.CfnCapabilityPropsMixin.SsoIdentityProperty( id="id", type="type" )], role="role" )], server_url="serverUrl" ) ), delete_propagation_policy="deletePropagationPolicy", role_arn="roleArn", tags=[CfnTag( key="key", value="value" )], type="type" )
Attributes
- capability_name
A unique name for the capability.
The name must be unique within your cluster and can contain alphanumeric characters, hyphens, and underscores.
- cluster_name
The name of the EKS cluster where you want to create the capability.
- configuration
Configuration settings for a capability.
The structure of this object varies depending on the capability type.
- delete_propagation_policy
Specifies how Kubernetes resources managed by the capability should be handled when the capability is deleted.
Currently, the only supported value is RETAIN which retains all Kubernetes resources managed by the capability when the capability is deleted.
- role_arn
The Amazon Resource Name (ARN) of the IAM role that the capability uses to interact with AWS services.
This role must have a trust policy that allows the EKS service principal to assume it, and it must have the necessary permissions for the capability type you’re creating.
- tags
An array of key-value pairs to apply to this resource.
- type
The type of capability to create.
Valid values are: ACK (AWS Controllers for Kubernetes, which lets you manage AWS resources directly from Kubernetes), ARGOCD (Argo CD for GitOps-based continuous delivery), or KRO (Kube Resource Orchestrator for composing and managing custom Kubernetes resources).