Skip to content
v2.278.0

ActorProperty Struct ​

An authenticated actor to be used during pentest execution.

Example ​

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
# 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
// 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();
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" }
};
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 ​

authenticationoptionalIResolvable | CfnPentest.AuthenticationPropertyauthenticationoptionaltyping.Union[IResolvable, AuthenticationProperty]authenticationoptionalIResolvableAuthenticationoptionalIResolvableAuthenticationoptionalinterface{} #
Authentication configuration for a pentest actor.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
Description of the actor.
enableEmailMfaoptionalboolean | IResolvableenable_email_mfaoptionaltyping.Union[bool, IResolvable]enableEmailMfaoptionalBooleanEnableEmailMfaoptionalboolEnableEmailMfaoptionalinterface{} #
Whether email-based MFA is enabled for this actor.
identifieroptionalstringidentifieroptionalstridentifieroptionalStringIdentifieroptionalstringIdentifieroptional*string #
Identifier for the actor.
mfaForwardingAddressoptionalstringmfa_forwarding_addressoptionalstrmfaForwardingAddressoptionalStringMfaForwardingAddressoptionalstringMfaForwardingAddressoptional*string #
Server-generated email forwarding address for receiving MFA codes.
urisoptionalstring[]urisoptionaltyping.List[str]urisoptionalList<String>Urisoptionalstring[]Urisoptional*[]*string #
List of URIs this actor is authorized to access.