Skip to content
v2.278.0

OriginGroupMemberProperty Struct ​

An origin in an origin group.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudfront as cloudfront } from 'aws-cdk-lib';
const originGroupMemberProperty: cloudfront.CfnDistribution.OriginGroupMemberProperty = {
  originId: 'originId',
};
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_cloudfront as cloudfront

origin_group_member_property = cloudfront.CfnDistribution.OriginGroupMemberProperty(
    origin_id="originId"
)
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.cloudfront.*;

OriginGroupMemberProperty originGroupMemberProperty = OriginGroupMemberProperty.builder()
        .originId("originId")
        .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.CloudFront;

var originGroupMemberProperty = new OriginGroupMemberProperty {
    OriginId = "originId"
};
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"

originGroupMemberProperty := &OriginGroupMemberProperty{
	OriginId: jsii.String("originId"),
}

Properties ​

originIdstringorigin_idstroriginIdStringOriginIdstringOriginId*string required #
The ID for an origin in an origin group.