Skip to content
v2.278.0

EksAccessEntryProperty Struct ​

The EKS access entry configuration for the compute environment.

Controls whether AWS Batch manages the EKS access entry for the compute environment's service role, or inherits it from the cluster.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_batch as batch } from 'aws-cdk-lib';
const eksAccessEntryProperty: batch.CfnComputeEnvironment.EksAccessEntryProperty = {
  desiredState: 'desiredState',
  status: 'status',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_batch as batch

eks_access_entry_property = batch.CfnComputeEnvironment.EksAccessEntryProperty(
    desired_state="desiredState",
    status="status"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.batch.*;

EksAccessEntryProperty eksAccessEntryProperty = EksAccessEntryProperty.builder()
        .desiredState("desiredState")
        .status("status")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Batch;

var eksAccessEntryProperty = new EksAccessEntryProperty {
    DesiredState = "desiredState",
    Status = "status"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

eksAccessEntryProperty := &EksAccessEntryProperty{
	DesiredState: jsii.String("desiredState"),
	Status: jsii.String("status"),
}

Properties ​

desiredStateoptionalstringdesired_stateoptionalstrdesiredStateoptionalStringDesiredStateoptionalstringDesiredStateoptional*string #
The desired state of the EKS access entry managed by AWS Batch.

When omitted, AWS Batch applies INHERIT_FROM_CLUSTER.

statusoptionalstringstatusoptionalstrstatusoptionalStringStatusoptionalstringStatusoptional*string #
The read-only status of the EKS access entry, returned by DescribeComputeEnvironments.