# CfnHypervisorProps

Struct · External

Properties for defining a `CfnHypervisor`.

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

- Source: Generated at build time
- Type last changed: v2.79.0 · 10 May 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_backupgateway as backupgateway } from 'aws-cdk-lib';
const cfnHypervisorProps: backupgateway.CfnHypervisorProps = {
  host: 'host',
  kmsKeyArn: 'kmsKeyArn',
  logGroupArn: 'logGroupArn',
  name: 'name',
  password: 'password',
  tags: [{
    key: 'key',
    value: 'value',
  }],
  username: 'username',
};
```

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_backupgateway as backupgateway

cfn_hypervisor_props = backupgateway.CfnHypervisorProps(
    host="host",
    kms_key_arn="kmsKeyArn",
    log_group_arn="logGroupArn",
    name="name",
    password="password",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    username="username"
)
```

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

CfnHypervisorProps cfnHypervisorProps = CfnHypervisorProps.builder()
        .host("host")
        .kmsKeyArn("kmsKeyArn")
        .logGroupArn("logGroupArn")
        .name("name")
        .password("password")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .username("username")
        .build();
```

C#:

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

var cfnHypervisorProps = new CfnHypervisorProps {
    Host = "host",
    KmsKeyArn = "kmsKeyArn",
    LogGroupArn = "logGroupArn",
    Name = "name",
    Password = "password",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } },
    Username = "username"
};
```

Go:

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

cfnHypervisorProps := &CfnHypervisorProps{
	Host: jsii.String("host"),
	KmsKeyArn: jsii.String("kmsKeyArn"),
	LogGroupArn: jsii.String("logGroupArn"),
	Name: jsii.String("name"),
	Password: jsii.String("password"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
	Username: jsii.String("username"),
}
```

## Properties

- `host`: string — The server host of the hypervisor.

  This can be either an IP address or a fully-qualified domain name (FQDN).

- `kmsKeyArn`: string — The Amazon Resource Name (ARN) of the AWS Key Management Service used to encrypt the hypervisor.

- `logGroupArn`: string — The Amazon Resource Name (ARN) of the group of gateways within the requested log.

- `name`: string — The name of the hypervisor.

- `password`: string — The password for the hypervisor.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags of the hypervisor configuration to import.

- `username`: string — The username for the hypervisor.
