AgentcoreCodeInterpreter constructor
AgentcoreCodeInterpreter(
- String name, {
- AgentcoreCodeInterpreterArgs? args,
- CustomResourceOptions? options,
Creates a new AgentcoreCodeInterpreter.
name The Pulumi resource name.
args Arguments used to configure this AgentcoreCodeInterpreter. The set of arguments for AgentcoreCodeInterpreter.
options Resource options controlling this resource's behavior.
Implementation
AgentcoreCodeInterpreter(
String name, {
AgentcoreCodeInterpreterArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:bedrock/agentcoreCodeInterpreter:AgentcoreCodeInterpreter',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
certificates = registerOutput<List<AgentcoreCodeInterpreterCertificate>?>('certificates', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<AgentcoreCodeInterpreterCertificate>(guardedValue, (value) => AgentcoreCodeInterpreterCertificate.fromMap((value as Map).cast<String, dynamic>())); });
codeInterpreterArn = registerOutput<String>('codeInterpreterArn');
codeInterpreterId = registerOutput<String>('codeInterpreterId');
description = registerOutput<String?>('description');
executionRoleArn = registerOutput<String?>('executionRoleArn');
this.name = registerOutput<String>('name');
networkConfiguration = registerOutput<AgentcoreCodeInterpreterNetworkConfiguration>('networkConfiguration', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return AgentcoreCodeInterpreterNetworkConfiguration.fromMap((guardedValue as Map).cast<String, dynamic>()); });
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<AgentcoreCodeInterpreterTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return AgentcoreCodeInterpreterTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}