1. Packages
  2. AWS Native
  3. API Docs
  4. bedrock
  5. getGuardrailVersion

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.bedrock.getGuardrailVersion

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

    Definition of AWS::Bedrock::GuardrailVersion Resource Type

    Using getGuardrailVersion

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getGuardrailVersion(args: GetGuardrailVersionArgs, opts?: InvokeOptions): Promise<GetGuardrailVersionResult>
    function getGuardrailVersionOutput(args: GetGuardrailVersionOutputArgs, opts?: InvokeOptions): Output<GetGuardrailVersionResult>
    def get_guardrail_version(guardrail_id: Optional[str] = None,
                              version: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetGuardrailVersionResult
    def get_guardrail_version_output(guardrail_id: Optional[pulumi.Input[str]] = None,
                              version: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetGuardrailVersionResult]
    func LookupGuardrailVersion(ctx *Context, args *LookupGuardrailVersionArgs, opts ...InvokeOption) (*LookupGuardrailVersionResult, error)
    func LookupGuardrailVersionOutput(ctx *Context, args *LookupGuardrailVersionOutputArgs, opts ...InvokeOption) LookupGuardrailVersionResultOutput

    > Note: This function is named LookupGuardrailVersion in the Go SDK.

    public static class GetGuardrailVersion 
    {
        public static Task<GetGuardrailVersionResult> InvokeAsync(GetGuardrailVersionArgs args, InvokeOptions? opts = null)
        public static Output<GetGuardrailVersionResult> Invoke(GetGuardrailVersionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGuardrailVersionResult> getGuardrailVersion(GetGuardrailVersionArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:bedrock:getGuardrailVersion
      arguments:
        # arguments dictionary

    The following arguments are supported:

    GuardrailId string
    Unique id for the guardrail
    Version string
    Guardrail version
    GuardrailId string
    Unique id for the guardrail
    Version string
    Guardrail version
    guardrailId String
    Unique id for the guardrail
    version String
    Guardrail version
    guardrailId string
    Unique id for the guardrail
    version string
    Guardrail version
    guardrail_id str
    Unique id for the guardrail
    version str
    Guardrail version
    guardrailId String
    Unique id for the guardrail
    version String
    Guardrail version

    getGuardrailVersion Result

    The following output properties are available:

    GuardrailArn string
    Arn representation for the guardrail
    GuardrailId string
    Unique id for the guardrail
    Version string
    Guardrail version
    GuardrailArn string
    Arn representation for the guardrail
    GuardrailId string
    Unique id for the guardrail
    Version string
    Guardrail version
    guardrailArn String
    Arn representation for the guardrail
    guardrailId String
    Unique id for the guardrail
    version String
    Guardrail version
    guardrailArn string
    Arn representation for the guardrail
    guardrailId string
    Unique id for the guardrail
    version string
    Guardrail version
    guardrail_arn str
    Arn representation for the guardrail
    guardrail_id str
    Unique id for the guardrail
    version str
    Guardrail version
    guardrailArn String
    Arn representation for the guardrail
    guardrailId String
    Unique id for the guardrail
    version String
    Guardrail version

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi