# OriginGroupMembersProperty

A complex data type for the origins included in an origin group.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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 originGroupMembersProperty: cloudfront.CfnDistribution.OriginGroupMembersProperty = {
  items: [{
    originId: 'originId',
  }],
  quantity: 123,
};
```

Python:

```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_members_property = cloudfront.CfnDistribution.OriginGroupMembersProperty(
    items=[cloudfront.CfnDistribution.OriginGroupMemberProperty(
        origin_id="originId"
    )],
    quantity=123
)
```

Java:

```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.*;

OriginGroupMembersProperty originGroupMembersProperty = OriginGroupMembersProperty.builder()
        .items(List.of(OriginGroupMemberProperty.builder()
                .originId("originId")
                .build()))
        .quantity(123)
        .build();
```

C# / .NET:

```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 originGroupMembersProperty = new OriginGroupMembersProperty {
    Items = new [] { new OriginGroupMemberProperty {
        OriginId = "originId"
    } },
    Quantity = 123
};
```

Golang:

```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"

originGroupMembersProperty := &OriginGroupMembersProperty{
	Items: []interface{}{
		&OriginGroupMemberProperty{
			OriginId: jsii.String("originId"),
		},
	},
	Quantity: jsii.Number(123),
}
```

## Properties

- `items`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDistribution.OriginGroupMemberProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cloudfront.CfnDistribution.OriginGroupMemberProperty.html)[] (required) — Items (origins) in an origin group.

- `quantity`: number (required) — The number of origins in an origin group.
