AwsLogSource.reference constructor
AwsLogSource.reference(
- String urn
Creates a typed reference to an existing AwsLogSource resource.
Implementation
AwsLogSource.reference(String urn)
: super(
'aws:securitylake/awsLogSource:AwsLogSource',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
isResourceReference: true,
) {
region = registerOutput<String>('region');
source = registerOutput<AwsLogSourceSource>('source', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return AwsLogSourceSource.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}