AgentAgentAlias constructor
AgentAgentAlias(
- String name, {
- AgentAgentAliasArgs? args,
- CustomResourceOptions? options,
Creates a new AgentAgentAlias.
name The Pulumi resource name.
args Arguments used to configure this AgentAgentAlias. The set of arguments for AgentAgentAlias.
options Resource options controlling this resource's behavior.
Implementation
AgentAgentAlias(
String name, {
AgentAgentAliasArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:bedrock/agentAgentAlias:AgentAgentAlias',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
agentAliasArn = registerOutput<String>('agentAliasArn');
agentAliasId = registerOutput<String>('agentAliasId');
agentAliasName = registerOutput<String>('agentAliasName');
agentId = registerOutput<String>('agentId');
description = registerOutput<String?>('description');
region = registerOutput<String>('region');
routingConfigurations = registerOutput<List<AgentAgentAliasRoutingConfiguration>>('routingConfigurations', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<AgentAgentAliasRoutingConfiguration>(guardedValue, (value) => AgentAgentAliasRoutingConfiguration.fromMap((value as Map).cast<String, dynamic>())); });
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<AgentAgentAliasTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return AgentAgentAliasTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}