package awscdkeks-v2alpha


// Represents the properties required to create an Amazon EKS access entry.
//
// Example:
//   // The code below shows an example of how to instantiate this type.
//   // The values are placeholders you should change.
//   import eks_v2_alpha "github.com/aws/aws-cdk-go/awscdkeks-v2alpha"
//
//   var accessPolicy accessPolicy
//   var cluster cluster
//
//   accessEntryProps := &AccessEntryProps{
//   	AccessPolicies: []iAccessPolicy{
//   		accessPolicy,
//   	},
//   	Cluster: cluster,
//   	Principal: jsii.String("principal"),
//
//   	// the properties below are optional
//   	AccessEntryName: jsii.String("accessEntryName"),
//   	AccessEntryType: eks_v2_alpha.AccessEntryType_STANDARD,
//   }
//
// Experimental.
type AccessEntryProps struct {
	// The access policies that define the permissions and scope for the access entry.
	// Experimental.
	AccessPolicies *[]IAccessPolicy `field:"required" json:"accessPolicies" yaml:"accessPolicies"`
	// The Amazon EKS cluster to which the access entry applies.
	// Experimental.
	Cluster ICluster `field:"required" json:"cluster" yaml:"cluster"`
	// The Amazon Resource Name (ARN) of the principal (user or role) to associate the access entry with.
	// Experimental.
	Principal *string `field:"required" json:"principal" yaml:"principal"`
	// The name of the AccessEntry.
	// Default: - No access entry name is provided.
	//
	// Experimental.
	AccessEntryName *string `field:"optional" json:"accessEntryName" yaml:"accessEntryName"`
	// The type of the AccessEntry.
	// Default: STANDARD.
	//
	// Experimental.
	AccessEntryType AccessEntryType `field:"optional" json:"accessEntryType" yaml:"accessEntryType"`
}

