# ActorProperty

An authenticated actor to be used during pentest execution.

- Source: Generated at build time
- Type last changed: v2.268.0 · 2 Sep 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_securityagent as securityagent } from 'aws-cdk-lib';
const actorProperty: securityagent.CfnPentest.ActorProperty = {
  authentication: {
    providerType: 'providerType',
    value: 'value',
  },
  description: 'description',
  enableEmailMfa: false,
  identifier: 'identifier',
  mfaForwardingAddress: 'mfaForwardingAddress',
  uris: ['uris'],
};
```

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_securityagent as securityagent

actor_property = securityagent.CfnPentest.ActorProperty(
    authentication=securityagent.CfnPentest.AuthenticationProperty(
        provider_type="providerType",
        value="value"
    ),
    description="description",
    enable_email_mfa=False,
    identifier="identifier",
    mfa_forwarding_address="mfaForwardingAddress",
    uris=["uris"]
)
```

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

ActorProperty actorProperty = ActorProperty.builder()
        .authentication(AuthenticationProperty.builder()
                .providerType("providerType")
                .value("value")
                .build())
        .description("description")
        .enableEmailMfa(false)
        .identifier("identifier")
        .mfaForwardingAddress("mfaForwardingAddress")
        .uris(List.of("uris"))
        .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.SecurityAgent;

var actorProperty = new ActorProperty {
    Authentication = new AuthenticationProperty {
        ProviderType = "providerType",
        Value = "value"
    },
    Description = "description",
    EnableEmailMfa = false,
    Identifier = "identifier",
    MfaForwardingAddress = "mfaForwardingAddress",
    Uris = new [] { "uris" }
};
```

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"

actorProperty := &ActorProperty{
	Authentication: &AuthenticationProperty{
		ProviderType: jsii.String("providerType"),
		Value: jsii.String("value"),
	},
	Description: jsii.String("description"),
	EnableEmailMfa: jsii.Boolean(false),
	Identifier: jsii.String("identifier"),
	MfaForwardingAddress: jsii.String("mfaForwardingAddress"),
	Uris: []*string{
		jsii.String("uris"),
	},
}
```

## Properties

- `authentication`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnPentest.AuthenticationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_securityagent.CfnPentest.AuthenticationProperty.html) — Authentication configuration for a pentest actor.

- `description`: string — Description of the actor.

- `enableEmailMfa`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Whether email-based MFA is enabled for this actor.

- `identifier`: string — Identifier for the actor.

- `mfaForwardingAddress`: string — Server-generated email forwarding address for receiving MFA codes.

- `uris`: string[] — List of URIs this actor is authorized to access.
