AgentcoreAgentRuntimeAgentRuntimeArtifactCodeConfigurationCodeS3.fromMap constructor
AgentcoreAgentRuntimeAgentRuntimeArtifactCodeConfigurationCodeS3.fromMap()
Implementation
factory AgentcoreAgentRuntimeAgentRuntimeArtifactCodeConfigurationCodeS3.fromMap(Map<String, dynamic> map) {
return AgentcoreAgentRuntimeAgentRuntimeArtifactCodeConfigurationCodeS3(
bucket: pulumi.Input.fromValue(map['bucket'] as String),
prefix: pulumi.Input.fromValue(map['prefix'] as String),
versionId: (() { final guardedValue = map['versionId']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}