Show / Hide Table of Contents

Class CfnCapacityProvider.LaunchParametersProperty

Parameters for launching EC2 instances.

Inheritance
object
CfnCapacityProvider.LaunchParametersProperty
Implements
CfnCapacityProvider.ILaunchParametersProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.BedrockAgentCore
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCapacityProvider.LaunchParametersProperty : CfnCapacityProvider.ILaunchParametersProperty
Syntax (vb)
Public Class CfnCapacityProvider.LaunchParametersProperty Implements CfnCapacityProvider.ILaunchParametersProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-capacityprovider-launchparameters.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.BedrockAgentCore;

             var launchParametersProperty = new LaunchParametersProperty {
                 InstanceRequirements = new InstanceRequirementsProperty {
                     AllowedInstanceTypes = new [] { "allowedInstanceTypes" }
                 },
                 OperatingSystem = "operatingSystem",

                 // the properties below are optional
                 CapacityReservationSpecification = new CapacityReservationSpecificationProperty {
                     CapacityReservationPreference = "capacityReservationPreference",
                     CapacityReservationTarget = new CapacityReservationTargetProperty {
                         CapacityReservationId = "capacityReservationId",
                         CapacityReservationResourceGroupArn = "capacityReservationResourceGroupArn"
                     }
                 },
                 EphemeralVolumes = new [] { new EphemeralBlockDeviceMappingProperty {
                     DeviceName = "deviceName",
                     Ebs = new EphemeralEBSVolumeConfigurationProperty {
                         EbsCardIndex = 123,
                         Encrypted = false,
                         Iops = 123,
                         KmsKeyId = "kmsKeyId",
                         SnapshotId = "snapshotId",
                         Throughput = 123,
                         VolumeInitializationRate = 123,
                         VolumeSize = 123,
                         VolumeType = "volumeType"
                     },
                     VirtualName = "virtualName"
                 } },
                 InstanceProfileArn = "instanceProfileArn",
                 LicenseSpecifications = new [] { new LicenseSpecificationProperty {
                     LicenseConfigurationArn = "licenseConfigurationArn"
                 } },
                 Monitoring = "monitoring",
                 PropagatedTags = new Dictionary<string, string> {
                     { "propagatedTagsKey", "propagatedTags" }
                 },
                 SshKeyName = "sshKeyName"
             };

Synopsis

Constructors

LaunchParametersProperty()

Parameters for launching EC2 instances.

Properties

CapacityReservationSpecification

The Capacity Reservation targeting option.

EphemeralVolumes

The block device mapping for ephemeral (instance store) volumes.

InstanceProfileArn

The ARN of the IAM instance profile to associate with launched instances.

InstanceRequirements

Requirements for EC2 instance types.

LicenseSpecifications

The license configurations.

Monitoring

The monitoring level for the instance.

OperatingSystem

The operating system and CPU architecture for the instances.

PropagatedTags

Tags to apply to all EC2 resources (instances, volumes, and network interfaces) created by this capacity provider.

SshKeyName

The name of the SSH key pair to configure on instances for SSH connectivity.

Constructors

LaunchParametersProperty()

Parameters for launching EC2 instances.

public LaunchParametersProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-capacityprovider-launchparameters.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.BedrockAgentCore;

             var launchParametersProperty = new LaunchParametersProperty {
                 InstanceRequirements = new InstanceRequirementsProperty {
                     AllowedInstanceTypes = new [] { "allowedInstanceTypes" }
                 },
                 OperatingSystem = "operatingSystem",

                 // the properties below are optional
                 CapacityReservationSpecification = new CapacityReservationSpecificationProperty {
                     CapacityReservationPreference = "capacityReservationPreference",
                     CapacityReservationTarget = new CapacityReservationTargetProperty {
                         CapacityReservationId = "capacityReservationId",
                         CapacityReservationResourceGroupArn = "capacityReservationResourceGroupArn"
                     }
                 },
                 EphemeralVolumes = new [] { new EphemeralBlockDeviceMappingProperty {
                     DeviceName = "deviceName",
                     Ebs = new EphemeralEBSVolumeConfigurationProperty {
                         EbsCardIndex = 123,
                         Encrypted = false,
                         Iops = 123,
                         KmsKeyId = "kmsKeyId",
                         SnapshotId = "snapshotId",
                         Throughput = 123,
                         VolumeInitializationRate = 123,
                         VolumeSize = 123,
                         VolumeType = "volumeType"
                     },
                     VirtualName = "virtualName"
                 } },
                 InstanceProfileArn = "instanceProfileArn",
                 LicenseSpecifications = new [] { new LicenseSpecificationProperty {
                     LicenseConfigurationArn = "licenseConfigurationArn"
                 } },
                 Monitoring = "monitoring",
                 PropagatedTags = new Dictionary<string, string> {
                     { "propagatedTagsKey", "propagatedTags" }
                 },
                 SshKeyName = "sshKeyName"
             };

Properties

CapacityReservationSpecification

The Capacity Reservation targeting option.

public object? CapacityReservationSpecification { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-capacityprovider-launchparameters.html#cfn-bedrockagentcore-capacityprovider-launchparameters-capacityreservationspecification

Type union: either IResolvable or CfnCapacityProvider.ICapacityReservationSpecificationProperty

EphemeralVolumes

The block device mapping for ephemeral (instance store) volumes.

public object? EphemeralVolumes { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-capacityprovider-launchparameters.html#cfn-bedrockagentcore-capacityprovider-launchparameters-ephemeralvolumes

Type union: either IResolvable or (either IResolvable or CfnCapacityProvider.IEphemeralBlockDeviceMappingProperty)[]

InstanceProfileArn

The ARN of the IAM instance profile to associate with launched instances.

public string? InstanceProfileArn { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-capacityprovider-launchparameters.html#cfn-bedrockagentcore-capacityprovider-launchparameters-instanceprofilearn

InstanceRequirements

Requirements for EC2 instance types.

public object InstanceRequirements { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-capacityprovider-launchparameters.html#cfn-bedrockagentcore-capacityprovider-launchparameters-instancerequirements

Type union: either IResolvable or CfnCapacityProvider.IInstanceRequirementsProperty

LicenseSpecifications

The license configurations.

public object? LicenseSpecifications { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-capacityprovider-launchparameters.html#cfn-bedrockagentcore-capacityprovider-launchparameters-licensespecifications

Type union: either IResolvable or (either IResolvable or CfnCapacityProvider.ILicenseSpecificationProperty)[]

Monitoring

The monitoring level for the instance.

public string? Monitoring { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-capacityprovider-launchparameters.html#cfn-bedrockagentcore-capacityprovider-launchparameters-monitoring

OperatingSystem

The operating system and CPU architecture for the instances.

public string OperatingSystem { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-capacityprovider-launchparameters.html#cfn-bedrockagentcore-capacityprovider-launchparameters-operatingsystem

PropagatedTags

Tags to apply to all EC2 resources (instances, volumes, and network interfaces) created by this capacity provider.

public object? PropagatedTags { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-capacityprovider-launchparameters.html#cfn-bedrockagentcore-capacityprovider-launchparameters-propagatedtags

Type union: either IResolvable or Dictionary<string, string>

SshKeyName

The name of the SSH key pair to configure on instances for SSH connectivity.

public string? SshKeyName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-capacityprovider-launchparameters.html#cfn-bedrockagentcore-capacityprovider-launchparameters-sshkeyname

Implements

CfnCapacityProvider.ILaunchParametersProperty
Back to top Generated by DocFX