> **Experimental**
>
> `@aws-cdk/aws-medialive-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# NetworkAttributes

Attributes for importing an existing Network.

Used as argument in: [Network.fromNetworkAttributes](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.Network.html#fromnetworkattributes)

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/network.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-medialive-alpha/lib/network.ts#L68)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
const networkAttributes: medialive_alpha.NetworkAttributes = {
  networkArn: 'networkArn',
  networkId: 'networkId',
};
```

Python:

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

network_attributes = medialive_alpha.NetworkAttributes(
    network_arn="networkArn",
    network_id="networkId"
)
```

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.medialive.alpha.*;

NetworkAttributes networkAttributes = NetworkAttributes.builder()
        .networkArn("networkArn")
        .networkId("networkId")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive.Alpha;

var networkAttributes = new NetworkAttributes {
    NetworkArn = "networkArn",
    NetworkId = "networkId"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import medialive_alpha "github.com/aws/aws-cdk-go/awsmedialivealpha"

networkAttributes := &NetworkAttributes{
	NetworkArn: jsii.String("networkArn"),
	NetworkId: jsii.String("networkId"),
}
```

## Properties

- `networkArn`: string (required) — The ARN of the network.

- `networkId`: string (required) — The ID of the network.
