AgentcoreGateway.reference constructor
AgentcoreGateway.reference(
- String urn
Creates a typed reference to an existing AgentcoreGateway resource.
Implementation
AgentcoreGateway.reference(String urn)
: super(
'aws:bedrock/agentcoreGateway:AgentcoreGateway',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
isResourceReference: true,
) {
authorizerConfiguration = registerOutput<AgentcoreGatewayAuthorizerConfiguration?>('authorizerConfiguration', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return AgentcoreGatewayAuthorizerConfiguration.fromMap((guardedValue as Map).cast<String, dynamic>()); });
authorizerType = registerOutput<String>('authorizerType');
description = registerOutput<String?>('description');
exceptionLevel = registerOutput<String?>('exceptionLevel');
gatewayArn = registerOutput<String>('gatewayArn');
gatewayId = registerOutput<String>('gatewayId');
gatewayUrl = registerOutput<String>('gatewayUrl');
interceptorConfigurations = registerOutput<List<AgentcoreGatewayInterceptorConfiguration>?>('interceptorConfigurations', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<AgentcoreGatewayInterceptorConfiguration>(guardedValue, (value) => AgentcoreGatewayInterceptorConfiguration.fromMap((value as Map).cast<String, dynamic>())); });
kmsKeyArn = registerOutput<String?>('kmsKeyArn');
this.name = registerOutput<String>('name');
policyEngineConfiguration = registerOutput<AgentcoreGatewayPolicyEngineConfiguration?>('policyEngineConfiguration', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return AgentcoreGatewayPolicyEngineConfiguration.fromMap((guardedValue as Map).cast<String, dynamic>()); });
protocolConfiguration = registerOutput<AgentcoreGatewayProtocolConfiguration?>('protocolConfiguration', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return AgentcoreGatewayProtocolConfiguration.fromMap((guardedValue as Map).cast<String, dynamic>()); });
protocolType = registerOutput<String>('protocolType');
region = registerOutput<String>('region');
roleArn = registerOutput<String>('roleArn');
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>(); });
timeouts = registerOutput<AgentcoreGatewayTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return AgentcoreGatewayTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
workloadIdentityDetails = registerOutput<List<AgentcoreGatewayWorkloadIdentityDetail>>('workloadIdentityDetails', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<AgentcoreGatewayWorkloadIdentityDetail>(guardedValue, (value) => AgentcoreGatewayWorkloadIdentityDetail.fromMap((value as Map).cast<String, dynamic>())); });
}