Skip to content
v2.275.0

CfnHostProps Struct ​

Properties for defining a CfnHost.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codeconnections as codeconnections } from 'aws-cdk-lib';
const cfnHostProps: codeconnections.CfnHostProps = {
  name: 'name',
  providerEndpoint: 'providerEndpoint',
  providerType: 'providerType',

  // the properties below are optional
  tags: [{
    key: 'key',
    value: 'value',
  }],
  vpcConfiguration: {
    securityGroupIds: ['securityGroupIds'],
    subnetIds: ['subnetIds'],
    vpcId: 'vpcId',

    // the properties below are optional
    tlsCertificate: 'tlsCertificate',
  },
};

Properties ​

namestringnamestrnameStringNamestringName*stringrequired#
The name of the host.
providerEndpointstringprovider_endpointstrproviderEndpointStringProviderEndpointstringProviderEndpoint*stringrequired#
The endpoint of the infrastructure where your provider type is installed.
providerTypestringprovider_typestrproviderTypeStringProviderTypestringProviderType*stringrequired#
The name of the installed provider to be associated with your connection.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
Tags to apply to the host.
vpcConfigurationoptionalIResolvable | CfnHost.VpcConfigurationPropertyvpc_configurationoptionaltyping.Union[IResolvable, VpcConfigurationProperty]vpcConfigurationoptionalIResolvableVpcConfigurationoptionalIResolvableVpcConfigurationoptionalinterface{}#
The VPC configuration provisioned for the host.