Skip to content
v2.278.0

HostingEnvironmentProperty ​

Struct External

An upstream workload identified by the ARN of its hosting environment (for example a Gateway or Runtime ARN).

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const hostingEnvironmentProperty: bedrockagentcore.CfnRuntime.HostingEnvironmentProperty = {
  arn: 'arn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrockagentcore as bedrockagentcore

hosting_environment_property = bedrockagentcore.CfnRuntime.HostingEnvironmentProperty(
    arn="arn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;

HostingEnvironmentProperty hostingEnvironmentProperty = HostingEnvironmentProperty.builder()
        .arn("arn")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.BedrockAgentCore;

var hostingEnvironmentProperty = new HostingEnvironmentProperty {
    Arn = "arn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

hostingEnvironmentProperty := &HostingEnvironmentProperty{
	Arn: jsii.String("arn"),
}

Properties ​

arnstringarnstrarnStringArnstringArn*string required #
The ARN of the bedrock-agentcore hosting environment.