# CfnOdbNetworkProps

Properties for defining a `CfnOdbNetwork`.

Used as props by: [CfnOdbNetwork](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_odb.CfnOdbNetwork.html)

- Source: Generated at build time
- Type last changed: v2.245.0 · 27 Mar 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_odb as odb } from 'aws-cdk-lib';
const cfnOdbNetworkProps: odb.CfnOdbNetworkProps = {
  availabilityZone: 'availabilityZone',
  availabilityZoneId: 'availabilityZoneId',
  backupSubnetCidr: 'backupSubnetCidr',
  clientSubnetCidr: 'clientSubnetCidr',
  crossRegionS3RestoreSources: ['crossRegionS3RestoreSources'],
  customDomainName: 'customDomainName',
  defaultDnsPrefix: 'defaultDnsPrefix',
  deleteAssociatedResources: false,
  displayName: 'displayName',
  kmsAccess: 'kmsAccess',
  kmsPolicyDocument: 'kmsPolicyDocument',
  s3Access: 's3Access',
  s3PolicyDocument: 's3PolicyDocument',
  stsAccess: 'stsAccess',
  stsPolicyDocument: 'stsPolicyDocument',
  tags: [{
    key: 'key',
    value: 'value',
  }],
  zeroEtlAccess: 'zeroEtlAccess',
};
```

Python:

```python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_odb as odb

cfn_odb_network_props = odb.CfnOdbNetworkProps(
    availability_zone="availabilityZone",
    availability_zone_id="availabilityZoneId",
    backup_subnet_cidr="backupSubnetCidr",
    client_subnet_cidr="clientSubnetCidr",
    cross_region_s3_restore_sources=["crossRegionS3RestoreSources"],
    custom_domain_name="customDomainName",
    default_dns_prefix="defaultDnsPrefix",
    delete_associated_resources=False,
    display_name="displayName",
    kms_access="kmsAccess",
    kms_policy_document="kmsPolicyDocument",
    s3_access="s3Access",
    s3_policy_document="s3PolicyDocument",
    sts_access="stsAccess",
    sts_policy_document="stsPolicyDocument",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    zero_etl_access="zeroEtlAccess"
)
```

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

CfnOdbNetworkProps cfnOdbNetworkProps = CfnOdbNetworkProps.builder()
        .availabilityZone("availabilityZone")
        .availabilityZoneId("availabilityZoneId")
        .backupSubnetCidr("backupSubnetCidr")
        .clientSubnetCidr("clientSubnetCidr")
        .crossRegionS3RestoreSources(List.of("crossRegionS3RestoreSources"))
        .customDomainName("customDomainName")
        .defaultDnsPrefix("defaultDnsPrefix")
        .deleteAssociatedResources(false)
        .displayName("displayName")
        .kmsAccess("kmsAccess")
        .kmsPolicyDocument("kmsPolicyDocument")
        .s3Access("s3Access")
        .s3PolicyDocument("s3PolicyDocument")
        .stsAccess("stsAccess")
        .stsPolicyDocument("stsPolicyDocument")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .zeroEtlAccess("zeroEtlAccess")
        .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.ODB;

var cfnOdbNetworkProps = new CfnOdbNetworkProps {
    AvailabilityZone = "availabilityZone",
    AvailabilityZoneId = "availabilityZoneId",
    BackupSubnetCidr = "backupSubnetCidr",
    ClientSubnetCidr = "clientSubnetCidr",
    CrossRegionS3RestoreSources = new [] { "crossRegionS3RestoreSources" },
    CustomDomainName = "customDomainName",
    DefaultDnsPrefix = "defaultDnsPrefix",
    DeleteAssociatedResources = false,
    DisplayName = "displayName",
    KmsAccess = "kmsAccess",
    KmsPolicyDocument = "kmsPolicyDocument",
    S3Access = "s3Access",
    S3PolicyDocument = "s3PolicyDocument",
    StsAccess = "stsAccess",
    StsPolicyDocument = "stsPolicyDocument",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } },
    ZeroEtlAccess = "zeroEtlAccess"
};
```

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"

cfnOdbNetworkProps := &CfnOdbNetworkProps{
	AvailabilityZone: jsii.String("availabilityZone"),
	AvailabilityZoneId: jsii.String("availabilityZoneId"),
	BackupSubnetCidr: jsii.String("backupSubnetCidr"),
	ClientSubnetCidr: jsii.String("clientSubnetCidr"),
	CrossRegionS3RestoreSources: []*string{
		jsii.String("crossRegionS3RestoreSources"),
	},
	CustomDomainName: jsii.String("customDomainName"),
	DefaultDnsPrefix: jsii.String("defaultDnsPrefix"),
	DeleteAssociatedResources: jsii.Boolean(false),
	DisplayName: jsii.String("displayName"),
	KmsAccess: jsii.String("kmsAccess"),
	KmsPolicyDocument: jsii.String("kmsPolicyDocument"),
	S3Access: jsii.String("s3Access"),
	S3PolicyDocument: jsii.String("s3PolicyDocument"),
	StsAccess: jsii.String("stsAccess"),
	StsPolicyDocument: jsii.String("stsPolicyDocument"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
	ZeroEtlAccess: jsii.String("zeroEtlAccess"),
}
```

## Properties

- `availabilityZone`: string — The Availability Zone (AZ) where the ODB network is located.

  Required when creating an ODB network. Specify either AvailabilityZone or AvailabilityZoneId to define the location of the network.

- `availabilityZoneId`: string — The AZ ID of the AZ where the ODB network is located.

  Required when creating an ODB network. Specify either AvailabilityZone or AvailabilityZoneId to define the location of the network.

- `backupSubnetCidr`: string — The CIDR range of the backup subnet in the ODB network.

- `clientSubnetCidr`: string — The CIDR range of the client subnet in the ODB network.

  Required when creating an ODB network.

- `crossRegionS3RestoreSources`: string[] — The cross-Region Amazon S3 restore sources for the ODB network.

- `customDomainName`: string — The domain name for the resources in the ODB network.

- `defaultDnsPrefix`: string — The DNS prefix to the default DNS domain name.

  The default DNS domain name is oraclevcn.com.

- `deleteAssociatedResources`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Specifies whether to delete associated OCI networking resources along with the ODB network.

  Required when creating an ODB network.

- `displayName`: string — The user-friendly name of the ODB network.

  Required when creating an ODB network.

- `kmsAccess`: string — The AWS Key Management Service (KMS) access configuration for the ODB network.

- `kmsPolicyDocument`: string — The AWS Key Management Service (KMS) policy document that defines permissions for key usage within the ODB network.

- `s3Access`: string — The configuration for Amazon S3 access from the ODB network.

- `s3PolicyDocument`: string — Specifies the endpoint policy for Amazon S3 access from the ODB network.

- `stsAccess`: string — The AWS Security Token Service (STS) access configuration for the ODB network.

- `stsPolicyDocument`: string — The AWS Security Token Service (STS) policy document that defines permissions for token service usage within the ODB network.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — Tags to assign to the Odb Network.

- `zeroEtlAccess`: string — The configuration for Zero-ETL access from the ODB network.
