AgentcoreGatewayRule constructor
AgentcoreGatewayRule(
- String name, {
- AgentcoreGatewayRuleArgs? args,
- CustomResourceOptions? options,
Creates a new AgentcoreGatewayRule.
name The Pulumi resource name.
args Arguments used to configure this AgentcoreGatewayRule. The set of arguments for AgentcoreGatewayRule.
options Resource options controlling this resource's behavior.
Implementation
AgentcoreGatewayRule(
String name, {
AgentcoreGatewayRuleArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:bedrock/agentcoreGatewayRule:AgentcoreGatewayRule',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
actions = registerOutput<List<AgentcoreGatewayRuleAction>?>('actions', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<AgentcoreGatewayRuleAction>(guardedValue, (value) => AgentcoreGatewayRuleAction.fromMap((value as Map).cast<String, dynamic>())); });
conditions = registerOutput<List<AgentcoreGatewayRuleCondition>?>('conditions', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<AgentcoreGatewayRuleCondition>(guardedValue, (value) => AgentcoreGatewayRuleCondition.fromMap((value as Map).cast<String, dynamic>())); });
description = registerOutput<String>('description');
gatewayArn = registerOutput<String>('gatewayArn');
gatewayIdentifier = registerOutput<String>('gatewayIdentifier');
priority = registerOutput<int>('priority');
region = registerOutput<String>('region');
ruleId = registerOutput<String>('ruleId');
systems = registerOutput<List<AgentcoreGatewayRuleSystem>>('systems', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<AgentcoreGatewayRuleSystem>(guardedValue, (value) => AgentcoreGatewayRuleSystem.fromMap((value as Map).cast<String, dynamic>())); });
timeouts = registerOutput<AgentcoreGatewayRuleTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return AgentcoreGatewayRuleTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}