AgentcoreMemory constructor

AgentcoreMemory(
  1. String name, {
  2. AgentcoreMemoryArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new AgentcoreMemory. name The Pulumi resource name. args Arguments used to configure this AgentcoreMemory. The set of arguments for AgentcoreMemory. options Resource options controlling this resource's behavior.

Implementation

AgentcoreMemory(
  String name, {
  AgentcoreMemoryArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:bedrock/agentcoreMemory:AgentcoreMemory',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  arn = registerOutput<String>('arn');
  description = registerOutput<String?>('description');
  encryptionKeyArn = registerOutput<String?>('encryptionKeyArn');
  eventExpiryDuration = registerOutput<int>('eventExpiryDuration');
  indexedKeys = registerOutput<List<AgentcoreMemoryIndexedKey>?>('indexedKeys', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<AgentcoreMemoryIndexedKey>(guardedValue, (value) => AgentcoreMemoryIndexedKey.fromMap((value as Map).cast<String, dynamic>())); });
  memoryExecutionRoleArn = registerOutput<String?>('memoryExecutionRoleArn');
  this.name = registerOutput<String>('name');
  region = registerOutput<String>('region');
  streamDeliveryResources = registerOutput<AgentcoreMemoryStreamDeliveryResources?>('streamDeliveryResources', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return AgentcoreMemoryStreamDeliveryResources.fromMap((guardedValue 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<AgentcoreMemoryTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return AgentcoreMemoryTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}