# SourceResourceProperty

The resource used to provision CIDRs to a resource planning pool.

- Source: Generated at build time
- Type last changed: v2.122.0 · 18 Jan 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const sourceResourceProperty: ec2.CfnIPAMPool.SourceResourceProperty = {
  resourceId: 'resourceId',
  resourceOwner: 'resourceOwner',
  resourceRegion: 'resourceRegion',
  resourceType: 'resourceType',
};
```

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_ec2 as ec2

source_resource_property = ec2.CfnIPAMPool.SourceResourceProperty(
    resource_id="resourceId",
    resource_owner="resourceOwner",
    resource_region="resourceRegion",
    resource_type="resourceType"
)
```

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

SourceResourceProperty sourceResourceProperty = SourceResourceProperty.builder()
        .resourceId("resourceId")
        .resourceOwner("resourceOwner")
        .resourceRegion("resourceRegion")
        .resourceType("resourceType")
        .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.EC2;

var sourceResourceProperty = new SourceResourceProperty {
    ResourceId = "resourceId",
    ResourceOwner = "resourceOwner",
    ResourceRegion = "resourceRegion",
    ResourceType = "resourceType"
};
```

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"

sourceResourceProperty := &SourceResourceProperty{
	ResourceId: jsii.String("resourceId"),
	ResourceOwner: jsii.String("resourceOwner"),
	ResourceRegion: jsii.String("resourceRegion"),
	ResourceType: jsii.String("resourceType"),
}
```

## Properties

- `resourceId`: string (required) — The source resource ID.

- `resourceOwner`: string (required) — The source resource owner.

- `resourceRegion`: string (required) — The source resource Region.

- `resourceType`: string (required) — The source resource type.
