CfnAddonProps

class aws_cdk.aws_eks.CfnAddonProps(*, addon_name, addon_version=None, cluster_name, resolve_conflicts=None, service_account_role_arn=None, tags=None)

Bases: object

Properties for defining a AWS::EKS::Addon.

Parameters
  • addon_name (str) – AWS::EKS::Addon.AddonName.

  • addon_version (Optional[str]) – AWS::EKS::Addon.AddonVersion.

  • cluster_name (str) – AWS::EKS::Addon.ClusterName.

  • resolve_conflicts (Optional[str]) – AWS::EKS::Addon.ResolveConflicts.

  • service_account_role_arn (Optional[str]) – AWS::EKS::Addon.ServiceAccountRoleArn.

  • tags (Optional[Sequence[CfnTag]]) – AWS::EKS::Addon.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-addon.html

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_eks as eks

cfn_addon_props = eks.CfnAddonProps(
    addon_name="addonName",
    cluster_name="clusterName",

    # the properties below are optional
    addon_version="addonVersion",
    resolve_conflicts="resolveConflicts",
    service_account_role_arn="serviceAccountRoleArn",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

addon_name

AWS::EKS::Addon.AddonName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-addon.html#cfn-eks-addon-addonname

Return type

str

addon_version

AWS::EKS::Addon.AddonVersion.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-addon.html#cfn-eks-addon-addonversion

Return type

Optional[str]

cluster_name

AWS::EKS::Addon.ClusterName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-addon.html#cfn-eks-addon-clustername

Return type

str

resolve_conflicts

AWS::EKS::Addon.ResolveConflicts.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-addon.html#cfn-eks-addon-resolveconflicts

Return type

Optional[str]

service_account_role_arn

AWS::EKS::Addon.ServiceAccountRoleArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-addon.html#cfn-eks-addon-serviceaccountrolearn

Return type

Optional[str]

tags

AWS::EKS::Addon.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-addon.html#cfn-eks-addon-tags

Return type

Optional[List[CfnTag]]