AgentcoreBrowserProfile.reference constructor
AgentcoreBrowserProfile.reference(
- String urn
Creates a typed reference to an existing AgentcoreBrowserProfile resource.
Implementation
AgentcoreBrowserProfile.reference(String urn)
: super(
'aws:bedrock/agentcoreBrowserProfile:AgentcoreBrowserProfile',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
isResourceReference: true,
) {
description = registerOutput<String?>('description');
this.name = registerOutput<String>('name');
profileArn = registerOutput<String>('profileArn');
profileId = registerOutput<String>('profileId');
region = registerOutput<String>('region');
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<AgentcoreBrowserProfileTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return AgentcoreBrowserProfileTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}