Authorizer.reference constructor
Authorizer.reference(
- String urn
Creates a typed reference to an existing Authorizer resource.
Implementation
Authorizer.reference(String urn)
: super(
'aws:apigateway/authorizer:Authorizer',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
isResourceReference: true,
) {
arn = registerOutput<String>('arn');
authorizerCredentials = registerOutput<String?>('authorizerCredentials');
authorizerResultTtlInSeconds = registerOutput<int?>('authorizerResultTtlInSeconds');
authorizerUri = registerOutput<String?>('authorizerUri');
identitySource = registerOutput<String?>('identitySource');
identityValidationExpression = registerOutput<String?>('identityValidationExpression');
this.name = registerOutput<String>('name');
providerArns = registerOutput<List<String>?>('providerArns', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
region = registerOutput<String>('region');
restApi = registerOutput<String>('restApi');
type = registerOutput<String?>('type');
}