VpcConnector constructor

VpcConnector(
  1. String name, {
  2. VpcConnectorArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

VpcConnector(
  String name, {
  VpcConnectorArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:apprunner/vpcConnector:VpcConnector',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  arn = registerOutput<String>('arn');
  region = registerOutput<String>('region');
  securityGroups = registerOutput<List<String>>('securityGroups', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
  status = registerOutput<String>('status');
  subnets = registerOutput<List<String>>('subnets', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
  tags = registerOutput<Map<String, String>?>('tags', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
  tagsAll = registerOutput<Map<String, String>>('tagsAll', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
  vpcConnectorName = registerOutput<String>('vpcConnectorName');
  vpcConnectorRevision = registerOutput<int>('vpcConnectorRevision');
}