1. Packages
  2. AWS Classic
  3. API Docs
  4. bedrock
  5. AgentAgentAlias

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.36.0 published on Wednesday, May 15, 2024 by Pulumi

aws.bedrock.AgentAgentAlias

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.36.0 published on Wednesday, May 15, 2024 by Pulumi

    Resource for managing an AWS Agents for Amazon Bedrock Agent Alias.

    Example Usage

    Basic Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.AwsFunctions;
    import com.pulumi.aws.inputs.GetCallerIdentityArgs;
    import com.pulumi.aws.inputs.GetRegionArgs;
    import com.pulumi.aws.iam.IamFunctions;
    import com.pulumi.aws.iam.inputs.GetPolicyDocumentArgs;
    import com.pulumi.aws.iam.Role;
    import com.pulumi.aws.iam.RoleArgs;
    import com.pulumi.aws.iam.RolePolicy;
    import com.pulumi.aws.iam.RolePolicyArgs;
    import com.pulumi.aws.bedrock.AgentAgent;
    import com.pulumi.aws.bedrock.AgentAgentArgs;
    import com.pulumi.aws.bedrock.AgentAgentAlias;
    import com.pulumi.aws.bedrock.AgentAgentAliasArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var current = AwsFunctions.getCallerIdentity();
    
            final var currentGetRegion = AwsFunctions.getRegion();
    
            final var exampleAgentTrust = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
                .statements(GetPolicyDocumentStatementArgs.builder()
                    .actions("sts:AssumeRole")
                    .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
                        .identifiers("bedrock.amazonaws.com")
                        .type("Service")
                        .build())
                    .conditions(                
                        GetPolicyDocumentStatementConditionArgs.builder()
                            .test("StringEquals")
                            .values(current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
                            .variable("aws:SourceAccount")
                            .build(),
                        GetPolicyDocumentStatementConditionArgs.builder()
                            .test("ArnLike")
                            .values(String.format("arn:aws:bedrock:%s:%s:agent/*", currentGetRegion.applyValue(getRegionResult -> getRegionResult.name()),current.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId())))
                            .variable("AWS:SourceArn")
                            .build())
                    .build())
                .build());
    
            var example = new Role("example", RoleArgs.builder()        
                .assumeRolePolicy(exampleAgentTrust.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
                .namePrefix("AmazonBedrockExecutionRoleForAgents_")
                .build());
    
            final var exampleAgentPermissions = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
                .statements(GetPolicyDocumentStatementArgs.builder()
                    .actions("bedrock:InvokeModel")
                    .resources(String.format("arn:aws:bedrock:%s::foundation-model/anthropic.claude-v2", currentGetRegion.applyValue(getRegionResult -> getRegionResult.name())))
                    .build())
                .build());
    
            var exampleRolePolicy = new RolePolicy("exampleRolePolicy", RolePolicyArgs.builder()        
                .policy(exampleAgentPermissions.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
                .role(example.id())
                .build());
    
            var test = new AgentAgent("test", AgentAgentArgs.builder()        
                .agentName("my-agent-name")
                .agentResourceRoleArn(example.arn())
                .idleTtl(500)
                .foundationModel("anthropic.claude-v2")
                .build());
    
            var exampleAgentAgentAlias = new AgentAgentAlias("exampleAgentAgentAlias", AgentAgentAliasArgs.builder()        
                .agentAliasName("my-agent-alias")
                .agentId(test.agentId())
                .description("Test ALias")
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:iam:Role
        properties:
          assumeRolePolicy: ${exampleAgentTrust.json}
          namePrefix: AmazonBedrockExecutionRoleForAgents_
      exampleRolePolicy:
        type: aws:iam:RolePolicy
        name: example
        properties:
          policy: ${exampleAgentPermissions.json}
          role: ${example.id}
      test:
        type: aws:bedrock:AgentAgent
        properties:
          agentName: my-agent-name
          agentResourceRoleArn: ${example.arn}
          idleTtl: 500
          foundationModel: anthropic.claude-v2
      exampleAgentAgentAlias:
        type: aws:bedrock:AgentAgentAlias
        name: example
        properties:
          agentAliasName: my-agent-alias
          agentId: ${test.agentId}
          description: Test ALias
    variables:
      exampleAgentTrust:
        fn::invoke:
          Function: aws:iam:getPolicyDocument
          Arguments:
            statements:
              - actions:
                  - sts:AssumeRole
                principals:
                  - identifiers:
                      - bedrock.amazonaws.com
                    type: Service
                conditions:
                  - test: StringEquals
                    values:
                      - ${current.accountId}
                    variable: aws:SourceAccount
                  - test: ArnLike
                    values:
                      - arn:aws:bedrock:${currentGetRegion.name}:${current.accountId}:agent/*
                    variable: AWS:SourceArn
      exampleAgentPermissions:
        fn::invoke:
          Function: aws:iam:getPolicyDocument
          Arguments:
            statements:
              - actions:
                  - bedrock:InvokeModel
                resources:
                  - arn:aws:bedrock:${currentGetRegion.name}::foundation-model/anthropic.claude-v2
      current:
        fn::invoke:
          Function: aws:getCallerIdentity
          Arguments: {}
      currentGetRegion:
        fn::invoke:
          Function: aws:getRegion
          Arguments: {}
    

    Create AgentAgentAlias Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AgentAgentAlias(name: string, args: AgentAgentAliasArgs, opts?: CustomResourceOptions);
    @overload
    def AgentAgentAlias(resource_name: str,
                        args: AgentAgentAliasArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def AgentAgentAlias(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        agent_alias_name: Optional[str] = None,
                        agent_id: Optional[str] = None,
                        description: Optional[str] = None,
                        routing_configurations: Optional[Sequence[AgentAgentAliasRoutingConfigurationArgs]] = None,
                        tags: Optional[Mapping[str, str]] = None,
                        timeouts: Optional[AgentAgentAliasTimeoutsArgs] = None)
    func NewAgentAgentAlias(ctx *Context, name string, args AgentAgentAliasArgs, opts ...ResourceOption) (*AgentAgentAlias, error)
    public AgentAgentAlias(string name, AgentAgentAliasArgs args, CustomResourceOptions? opts = null)
    public AgentAgentAlias(String name, AgentAgentAliasArgs args)
    public AgentAgentAlias(String name, AgentAgentAliasArgs args, CustomResourceOptions options)
    
    type: aws:bedrock:AgentAgentAlias
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AgentAgentAliasArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AgentAgentAliasArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AgentAgentAliasArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AgentAgentAliasArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AgentAgentAliasArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var agentAgentAliasResource = new Aws.Bedrock.AgentAgentAlias("agentAgentAliasResource", new()
    {
        AgentAliasName = "string",
        AgentId = "string",
        Description = "string",
        RoutingConfigurations = new[]
        {
            new Aws.Bedrock.Inputs.AgentAgentAliasRoutingConfigurationArgs
            {
                AgentVersion = "string",
            },
        },
        Tags = 
        {
            { "string", "string" },
        },
        Timeouts = new Aws.Bedrock.Inputs.AgentAgentAliasTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := bedrock.NewAgentAgentAlias(ctx, "agentAgentAliasResource", &bedrock.AgentAgentAliasArgs{
    	AgentAliasName: pulumi.String("string"),
    	AgentId:        pulumi.String("string"),
    	Description:    pulumi.String("string"),
    	RoutingConfigurations: bedrock.AgentAgentAliasRoutingConfigurationArray{
    		&bedrock.AgentAgentAliasRoutingConfigurationArgs{
    			AgentVersion: pulumi.String("string"),
    		},
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Timeouts: &bedrock.AgentAgentAliasTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var agentAgentAliasResource = new AgentAgentAlias("agentAgentAliasResource", AgentAgentAliasArgs.builder()        
        .agentAliasName("string")
        .agentId("string")
        .description("string")
        .routingConfigurations(AgentAgentAliasRoutingConfigurationArgs.builder()
            .agentVersion("string")
            .build())
        .tags(Map.of("string", "string"))
        .timeouts(AgentAgentAliasTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    agent_agent_alias_resource = aws.bedrock.AgentAgentAlias("agentAgentAliasResource",
        agent_alias_name="string",
        agent_id="string",
        description="string",
        routing_configurations=[aws.bedrock.AgentAgentAliasRoutingConfigurationArgs(
            agent_version="string",
        )],
        tags={
            "string": "string",
        },
        timeouts=aws.bedrock.AgentAgentAliasTimeoutsArgs(
            create="string",
            delete="string",
            update="string",
        ))
    
    const agentAgentAliasResource = new aws.bedrock.AgentAgentAlias("agentAgentAliasResource", {
        agentAliasName: "string",
        agentId: "string",
        description: "string",
        routingConfigurations: [{
            agentVersion: "string",
        }],
        tags: {
            string: "string",
        },
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: aws:bedrock:AgentAgentAlias
    properties:
        agentAliasName: string
        agentId: string
        description: string
        routingConfigurations:
            - agentVersion: string
        tags:
            string: string
        timeouts:
            create: string
            delete: string
            update: string
    

    AgentAgentAlias Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The AgentAgentAlias resource accepts the following input properties:

    AgentAliasName string
    Name of the alias.
    AgentId string
    Identifier of the agent to create an alias for.
    Description string
    Description of the alias of the agent.
    RoutingConfigurations List<AgentAgentAliasRoutingConfiguration>
    Routing configuration of the alias
    Tags Dictionary<string, string>

    Key-value tags for the place index. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    The following arguments are optional:

    Timeouts AgentAgentAliasTimeouts
    AgentAliasName string
    Name of the alias.
    AgentId string
    Identifier of the agent to create an alias for.
    Description string
    Description of the alias of the agent.
    RoutingConfigurations []AgentAgentAliasRoutingConfigurationArgs
    Routing configuration of the alias
    Tags map[string]string

    Key-value tags for the place index. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    The following arguments are optional:

    Timeouts AgentAgentAliasTimeoutsArgs
    agentAliasName String
    Name of the alias.
    agentId String
    Identifier of the agent to create an alias for.
    description String
    Description of the alias of the agent.
    routingConfigurations List<AgentAgentAliasRoutingConfiguration>
    Routing configuration of the alias
    tags Map<String,String>

    Key-value tags for the place index. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    The following arguments are optional:

    timeouts AgentAgentAliasTimeouts
    agentAliasName string
    Name of the alias.
    agentId string
    Identifier of the agent to create an alias for.
    description string
    Description of the alias of the agent.
    routingConfigurations AgentAgentAliasRoutingConfiguration[]
    Routing configuration of the alias
    tags {[key: string]: string}

    Key-value tags for the place index. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    The following arguments are optional:

    timeouts AgentAgentAliasTimeouts
    agent_alias_name str
    Name of the alias.
    agent_id str
    Identifier of the agent to create an alias for.
    description str
    Description of the alias of the agent.
    routing_configurations Sequence[AgentAgentAliasRoutingConfigurationArgs]
    Routing configuration of the alias
    tags Mapping[str, str]

    Key-value tags for the place index. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    The following arguments are optional:

    timeouts AgentAgentAliasTimeoutsArgs
    agentAliasName String
    Name of the alias.
    agentId String
    Identifier of the agent to create an alias for.
    description String
    Description of the alias of the agent.
    routingConfigurations List<Property Map>
    Routing configuration of the alias
    tags Map<String>

    Key-value tags for the place index. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    The following arguments are optional:

    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AgentAgentAlias resource produces the following output properties:

    AgentAliasArn string
    ARN of the Agent Alias.
    AgentAliasId string
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>

    Deprecated: Please use tags instead.

    AgentAliasArn string
    ARN of the Agent Alias.
    AgentAliasId string
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string

    Deprecated: Please use tags instead.

    agentAliasArn String
    ARN of the Agent Alias.
    agentAliasId String
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>

    Deprecated: Please use tags instead.

    agentAliasArn string
    ARN of the Agent Alias.
    agentAliasId string
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}

    Deprecated: Please use tags instead.

    agent_alias_arn str
    ARN of the Agent Alias.
    agent_alias_id str
    id str
    The provider-assigned unique ID for this managed resource.
    tags_all Mapping[str, str]

    Deprecated: Please use tags instead.

    agentAliasArn String
    ARN of the Agent Alias.
    agentAliasId String
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>

    Deprecated: Please use tags instead.

    Look up Existing AgentAgentAlias Resource

    Get an existing AgentAgentAlias resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AgentAgentAliasState, opts?: CustomResourceOptions): AgentAgentAlias
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            agent_alias_arn: Optional[str] = None,
            agent_alias_id: Optional[str] = None,
            agent_alias_name: Optional[str] = None,
            agent_id: Optional[str] = None,
            description: Optional[str] = None,
            routing_configurations: Optional[Sequence[AgentAgentAliasRoutingConfigurationArgs]] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None,
            timeouts: Optional[AgentAgentAliasTimeoutsArgs] = None) -> AgentAgentAlias
    func GetAgentAgentAlias(ctx *Context, name string, id IDInput, state *AgentAgentAliasState, opts ...ResourceOption) (*AgentAgentAlias, error)
    public static AgentAgentAlias Get(string name, Input<string> id, AgentAgentAliasState? state, CustomResourceOptions? opts = null)
    public static AgentAgentAlias get(String name, Output<String> id, AgentAgentAliasState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AgentAliasArn string
    ARN of the Agent Alias.
    AgentAliasId string
    AgentAliasName string
    Name of the alias.
    AgentId string
    Identifier of the agent to create an alias for.
    Description string
    Description of the alias of the agent.
    RoutingConfigurations List<AgentAgentAliasRoutingConfiguration>
    Routing configuration of the alias
    Tags Dictionary<string, string>

    Key-value tags for the place index. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    The following arguments are optional:

    TagsAll Dictionary<string, string>

    Deprecated: Please use tags instead.

    Timeouts AgentAgentAliasTimeouts
    AgentAliasArn string
    ARN of the Agent Alias.
    AgentAliasId string
    AgentAliasName string
    Name of the alias.
    AgentId string
    Identifier of the agent to create an alias for.
    Description string
    Description of the alias of the agent.
    RoutingConfigurations []AgentAgentAliasRoutingConfigurationArgs
    Routing configuration of the alias
    Tags map[string]string

    Key-value tags for the place index. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    The following arguments are optional:

    TagsAll map[string]string

    Deprecated: Please use tags instead.

    Timeouts AgentAgentAliasTimeoutsArgs
    agentAliasArn String
    ARN of the Agent Alias.
    agentAliasId String
    agentAliasName String
    Name of the alias.
    agentId String
    Identifier of the agent to create an alias for.
    description String
    Description of the alias of the agent.
    routingConfigurations List<AgentAgentAliasRoutingConfiguration>
    Routing configuration of the alias
    tags Map<String,String>

    Key-value tags for the place index. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    The following arguments are optional:

    tagsAll Map<String,String>

    Deprecated: Please use tags instead.

    timeouts AgentAgentAliasTimeouts
    agentAliasArn string
    ARN of the Agent Alias.
    agentAliasId string
    agentAliasName string
    Name of the alias.
    agentId string
    Identifier of the agent to create an alias for.
    description string
    Description of the alias of the agent.
    routingConfigurations AgentAgentAliasRoutingConfiguration[]
    Routing configuration of the alias
    tags {[key: string]: string}

    Key-value tags for the place index. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    The following arguments are optional:

    tagsAll {[key: string]: string}

    Deprecated: Please use tags instead.

    timeouts AgentAgentAliasTimeouts
    agent_alias_arn str
    ARN of the Agent Alias.
    agent_alias_id str
    agent_alias_name str
    Name of the alias.
    agent_id str
    Identifier of the agent to create an alias for.
    description str
    Description of the alias of the agent.
    routing_configurations Sequence[AgentAgentAliasRoutingConfigurationArgs]
    Routing configuration of the alias
    tags Mapping[str, str]

    Key-value tags for the place index. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    The following arguments are optional:

    tags_all Mapping[str, str]

    Deprecated: Please use tags instead.

    timeouts AgentAgentAliasTimeoutsArgs
    agentAliasArn String
    ARN of the Agent Alias.
    agentAliasId String
    agentAliasName String
    Name of the alias.
    agentId String
    Identifier of the agent to create an alias for.
    description String
    Description of the alias of the agent.
    routingConfigurations List<Property Map>
    Routing configuration of the alias
    tags Map<String>

    Key-value tags for the place index. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    The following arguments are optional:

    tagsAll Map<String>

    Deprecated: Please use tags instead.

    timeouts Property Map

    Supporting Types

    AgentAgentAliasRoutingConfiguration, AgentAgentAliasRoutingConfigurationArgs

    AgentVersion string
    Version of the agent the alias routes to.
    AgentVersion string
    Version of the agent the alias routes to.
    agentVersion String
    Version of the agent the alias routes to.
    agentVersion string
    Version of the agent the alias routes to.
    agent_version str
    Version of the agent the alias routes to.
    agentVersion String
    Version of the agent the alias routes to.

    AgentAgentAliasTimeouts, AgentAgentAliasTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Import

    Using pulumi import, import Agents for Amazon Bedrock Agent Alias using the AGENT_ID,ALIAS_ID. For example:

    $ pulumi import aws:bedrock/agentAgentAlias:AgentAgentAlias example AGENT_ID,ALIAS_ID
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.36.0 published on Wednesday, May 15, 2024 by Pulumi