AccessLogSubscription constructor
AccessLogSubscription(
- String name, {
- AccessLogSubscriptionArgs? args,
- CustomResourceOptions? options,
Creates a new AccessLogSubscription.
name The Pulumi resource name.
args Arguments used to configure this AccessLogSubscription. The set of arguments for AccessLogSubscription.
options Resource options controlling this resource's behavior.
Implementation
AccessLogSubscription(
String name, {
AccessLogSubscriptionArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:vpclattice/accessLogSubscription:AccessLogSubscription',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
arn = registerOutput<String>('arn');
destinationArn = registerOutput<String>('destinationArn');
region = registerOutput<String>('region');
resourceArn = registerOutput<String>('resourceArn');
resourceIdentifier = registerOutput<String>('resourceIdentifier');
serviceNetworkLogType = registerOutput<String>('serviceNetworkLogType');
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>(); });
}