ServerlessVpcEndpoint constructor
ServerlessVpcEndpoint(
- String name, {
- ServerlessVpcEndpointArgs? args,
- CustomResourceOptions? options,
Creates a new ServerlessVpcEndpoint.
name The Pulumi resource name.
args Arguments used to configure this ServerlessVpcEndpoint. The set of arguments for ServerlessVpcEndpoint.
options Resource options controlling this resource's behavior.
Implementation
ServerlessVpcEndpoint(
String name, {
ServerlessVpcEndpointArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:opensearch/serverlessVpcEndpoint:ServerlessVpcEndpoint',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
this.name = registerOutput<String>('name');
region = registerOutput<String>('region');
securityGroupIds = registerOutput<List<String>>('securityGroupIds', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
subnetIds = registerOutput<List<String>>('subnetIds', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
timeouts = registerOutput<ServerlessVpcEndpointTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ServerlessVpcEndpointTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
vpcId = registerOutput<String>('vpcId');
}