Class CfnComputeNodeGroupMixinProps.Jsii$Proxy
- All Implemented Interfaces:
CfnComputeNodeGroupMixinProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnComputeNodeGroupMixinProps
CfnComputeNodeGroupMixinProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.cfnpropertymixins.services.pcs.CfnComputeNodeGroupMixinProps
CfnComputeNodeGroupMixinProps.Builder, CfnComputeNodeGroupMixinProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnComputeNodeGroupMixinProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringgetAmiId()The ID of the Amazon Machine Image (AMI) that AWS PCS uses to launch instances.final StringThe ID of the cluster of the compute node group.final ObjectAn Amazon EC2 launch template AWS PCS uses to launch compute nodes.final StringThe Amazon Resource Name (ARN) of the IAM instance profile used to pass an IAM role when launching EC2 instances.final ObjectA list of EC2 instance configurations that AWS PCS can provision in the compute node group.final StringgetName()The name that identifies the compute node group.final StringSpecifies how EC2 instances are purchased on your behalf.final ObjectSpecifies the boundaries of the compute node group auto scaling.final ObjectAdditional options related to the Slurm scheduler.final ObjectAdditional configuration when you specifySPOTas thepurchaseOptionfor theCreateComputeNodeGroupAPI action.The list of subnet IDs where instances are provisioned by the compute node group.getTags()1 or more tags added to the resource.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnComputeNodeGroupMixinProps.Builder.
-
-
Method Details
-
getAmiId
Description copied from interface:CfnComputeNodeGroupMixinPropsThe ID of the Amazon Machine Image (AMI) that AWS PCS uses to launch instances.If not provided, AWS PCS uses the AMI ID specified in the custom launch template.
- Specified by:
getAmiIdin interfaceCfnComputeNodeGroupMixinProps- See Also:
-
getClusterId
Description copied from interface:CfnComputeNodeGroupMixinPropsThe ID of the cluster of the compute node group.- Specified by:
getClusterIdin interfaceCfnComputeNodeGroupMixinProps- See Also:
-
getCustomLaunchTemplate
Description copied from interface:CfnComputeNodeGroupMixinPropsAn Amazon EC2 launch template AWS PCS uses to launch compute nodes.Returns union: either
IResolvableorCfnComputeNodeGroupPropsMixin.CustomLaunchTemplateProperty- Specified by:
getCustomLaunchTemplatein interfaceCfnComputeNodeGroupMixinProps- See Also:
-
getIamInstanceProfileArn
Description copied from interface:CfnComputeNodeGroupMixinPropsThe Amazon Resource Name (ARN) of the IAM instance profile used to pass an IAM role when launching EC2 instances.The role contained in your instance profile must have the
pcs:RegisterComputeNodeGroupInstancepermission and the role name must start withAWSPCSor must have the path/aws-pcs/. For more information, see IAM instance profiles for AWS PCS in the AWS PCS User Guide .- Specified by:
getIamInstanceProfileArnin interfaceCfnComputeNodeGroupMixinProps- See Also:
-
getInstanceConfigs
Description copied from interface:CfnComputeNodeGroupMixinPropsA list of EC2 instance configurations that AWS PCS can provision in the compute node group.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnComputeNodeGroupPropsMixin.InstanceConfigProperty>- Specified by:
getInstanceConfigsin interfaceCfnComputeNodeGroupMixinProps- See Also:
-
getName
Description copied from interface:CfnComputeNodeGroupMixinPropsThe name that identifies the compute node group.- Specified by:
getNamein interfaceCfnComputeNodeGroupMixinProps- See Also:
-
getPurchaseOption
Description copied from interface:CfnComputeNodeGroupMixinPropsSpecifies how EC2 instances are purchased on your behalf.AWS PCS supports On-Demand Instances, Spot Instances, and Amazon EC2 Capacity Blocks for ML. For more information, see Amazon EC2 billing and purchasing options in the Amazon Elastic Compute Cloud User Guide . For more information about AWS PCS support for Capacity Blocks, see Using Amazon EC2 Capacity Blocks for ML with AWS PCS in the AWS PCS User Guide . If you don't provide this option, it defaults to On-Demand.
- Specified by:
getPurchaseOptionin interfaceCfnComputeNodeGroupMixinProps- See Also:
-
getScalingConfiguration
Description copied from interface:CfnComputeNodeGroupMixinPropsSpecifies the boundaries of the compute node group auto scaling.Returns union: either
IResolvableorCfnComputeNodeGroupPropsMixin.ScalingConfigurationProperty- Specified by:
getScalingConfigurationin interfaceCfnComputeNodeGroupMixinProps- See Also:
-
getSlurmConfiguration
Description copied from interface:CfnComputeNodeGroupMixinPropsAdditional options related to the Slurm scheduler.Returns union: either
IResolvableorCfnComputeNodeGroupPropsMixin.SlurmConfigurationProperty- Specified by:
getSlurmConfigurationin interfaceCfnComputeNodeGroupMixinProps- See Also:
-
getSpotOptions
Description copied from interface:CfnComputeNodeGroupMixinPropsAdditional configuration when you specifySPOTas thepurchaseOptionfor theCreateComputeNodeGroupAPI action.Returns union: either
IResolvableorCfnComputeNodeGroupPropsMixin.SpotOptionsProperty- Specified by:
getSpotOptionsin interfaceCfnComputeNodeGroupMixinProps- See Also:
-
getSubnetIds
Description copied from interface:CfnComputeNodeGroupMixinPropsThe list of subnet IDs where instances are provisioned by the compute node group.The subnets must be in the same VPC as the cluster.
- Specified by:
getSubnetIdsin interfaceCfnComputeNodeGroupMixinProps- See Also:
-
getTags
Description copied from interface:CfnComputeNodeGroupMixinProps1 or more tags added to the resource.Each tag consists of a tag key and tag value. The tag value is optional and can be an empty string.
- Specified by:
getTagsin interfaceCfnComputeNodeGroupMixinProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-