HostedPublicVirtualInterface constructor

HostedPublicVirtualInterface(
  1. String name, {
  2. HostedPublicVirtualInterfaceArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new HostedPublicVirtualInterface. name The Pulumi resource name. args Arguments used to configure this HostedPublicVirtualInterface. The set of arguments for HostedPublicVirtualInterface. options Resource options controlling this resource's behavior.

Implementation

HostedPublicVirtualInterface(
  String name, {
  HostedPublicVirtualInterfaceArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:directconnect/hostedPublicVirtualInterface:HostedPublicVirtualInterface',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  addressFamily = registerOutput<String>('addressFamily');
  amazonAddress = registerOutput<String>('amazonAddress');
  amazonSideAsn = registerOutput<String>('amazonSideAsn');
  arn = registerOutput<String>('arn');
  awsDevice = registerOutput<String>('awsDevice');
  bgpAsn = registerOutput<int>('bgpAsn');
  bgpAuthKey = registerOutput<String>('bgpAuthKey');
  connectionId = registerOutput<String>('connectionId');
  customerAddress = registerOutput<String>('customerAddress');
  this.name = registerOutput<String>('name');
  ownerAccountId = registerOutput<String>('ownerAccountId');
  region = registerOutput<String>('region');
  routeFilterPrefixes = registerOutput<List<String>>('routeFilterPrefixes', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
  vlan = registerOutput<int>('vlan');
}