CfnConfigurationProps Struct
Properties for defining a CfnConfiguration.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_omics as omics } from 'aws-cdk-lib';
const cfnConfigurationProps: omics.CfnConfigurationProps = {
name: 'name',
runConfigurations: {
vpcConfig: {
securityGroupIds: ['securityGroupIds'],
subnetIds: ['subnetIds'],
vpcOwnerAccountId: 'vpcOwnerAccountId',
},
},
// the properties below are optional
description: 'description',
tags: {
tagsKey: 'tags',
},
};
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_omics as omics
cfn_configuration_props = omics.CfnConfigurationProps(
name="name",
run_configurations=omics.CfnConfiguration.RunConfigurationsProperty(
vpc_config=omics.CfnConfiguration.VpcConfigProperty(
security_group_ids=["securityGroupIds"],
subnet_ids=["subnetIds"],
vpc_owner_account_id="vpcOwnerAccountId"
)
),
# the properties below are optional
description="description",
tags={
"tags_key": "tags"
}
)
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.omics.*;
CfnConfigurationProps cfnConfigurationProps = CfnConfigurationProps.builder()
.name("name")
.runConfigurations(RunConfigurationsProperty.builder()
.vpcConfig(VpcConfigProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.vpcOwnerAccountId("vpcOwnerAccountId")
.build())
.build())
// the properties below are optional
.description("description")
.tags(Map.of(
"tagsKey", "tags"))
.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.Omics;
var cfnConfigurationProps = new CfnConfigurationProps {
Name = "name",
RunConfigurations = new RunConfigurationsProperty {
VpcConfig = new VpcConfigProperty {
SecurityGroupIds = new [] { "securityGroupIds" },
SubnetIds = new [] { "subnetIds" },
VpcOwnerAccountId = "vpcOwnerAccountId"
}
},
// the properties below are optional
Description = "description",
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
};
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"
cfnConfigurationProps := &CfnConfigurationProps{
Name: jsii.String("name"),
RunConfigurations: &RunConfigurationsProperty{
VpcConfig: &VpcConfigProperty{
SecurityGroupIds: []*string{
jsii.String("securityGroupIds"),
},
SubnetIds: []*string{
jsii.String("subnetIds"),
},
VpcOwnerAccountId: jsii.String("vpcOwnerAccountId"),
},
},
// the properties below are optional
Description: jsii.String("description"),
Tags: map[string]*string{
"tagsKey": jsii.String("tags"),
},
}
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#Optional description for the configuration.
User-friendly name for the configuration.
runConfigurationsIResolvable | CfnConfiguration.RunConfigurationsPropertyrun_configurationstyping.Union[IResolvable, RunConfigurationsProperty]runConfigurationsIResolvableRunConfigurationsIResolvableRunConfigurationsinterface{}required#tagsoptional{ [key: string]: string }tagsoptionaltyping.Mapping[str, str]tagsoptionalMap<String, String>TagsoptionalIDictionary<string, string>Tagsoptional*map[string]*string#A map of resource tags.