interface SecurityContextProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Batch.CfnJobDefinition.SecurityContextProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbatch#CfnJobDefinition_SecurityContextProperty |
Java | software.amazon.awscdk.services.batch.CfnJobDefinition.SecurityContextProperty |
Python | aws_cdk.aws_batch.CfnJobDefinition.SecurityContextProperty |
TypeScript | aws-cdk-lib » aws_batch » CfnJobDefinition » SecurityContextProperty |
Example
// 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 securityContextProperty: batch.CfnJobDefinition.SecurityContextProperty = {
allowPrivilegeEscalation: false,
privileged: false,
readOnlyRootFilesystem: false,
runAsGroup: 123,
runAsNonRoot: false,
runAsUser: 123,
};
Properties
Name | Type | Description |
---|---|---|
allow | boolean | IResolvable | |
privileged? | boolean | IResolvable | |
read | boolean | IResolvable | |
run | number | |
run | boolean | IResolvable | |
run | number |
allowPrivilegeEscalation?
Type:
boolean |
IResolvable
(optional)
privileged?
Type:
boolean |
IResolvable
(optional)
readOnlyRootFilesystem?
Type:
boolean |
IResolvable
(optional)
runAsGroup?
Type:
number
(optional)
runAsNonRoot?
Type:
boolean |
IResolvable
(optional)
runAsUser?
Type:
number
(optional)