CfnProactiveEngagementProps Struct
Properties for defining a CfnProactiveEngagement.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_shield as shield } from 'aws-cdk-lib';
const cfnProactiveEngagementProps: shield.CfnProactiveEngagementProps = {
emergencyContactList: [{
emailAddress: 'emailAddress',
// the properties below are optional
contactNotes: 'contactNotes',
phoneNumber: 'phoneNumber',
}],
proactiveEngagementStatus: 'proactiveEngagementStatus',
};
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_shield as shield
cfn_proactive_engagement_props = shield.CfnProactiveEngagementProps(
emergency_contact_list=[shield.CfnProactiveEngagement.EmergencyContactProperty(
email_address="emailAddress",
# the properties below are optional
contact_notes="contactNotes",
phone_number="phoneNumber"
)],
proactive_engagement_status="proactiveEngagementStatus"
)
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.shield.*;
CfnProactiveEngagementProps cfnProactiveEngagementProps = CfnProactiveEngagementProps.builder()
.emergencyContactList(List.of(EmergencyContactProperty.builder()
.emailAddress("emailAddress")
// the properties below are optional
.contactNotes("contactNotes")
.phoneNumber("phoneNumber")
.build()))
.proactiveEngagementStatus("proactiveEngagementStatus")
.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.Shield;
var cfnProactiveEngagementProps = new CfnProactiveEngagementProps {
EmergencyContactList = new [] { new EmergencyContactProperty {
EmailAddress = "emailAddress",
// the properties below are optional
ContactNotes = "contactNotes",
PhoneNumber = "phoneNumber"
} },
ProactiveEngagementStatus = "proactiveEngagementStatus"
};
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"
cfnProactiveEngagementProps := &CfnProactiveEngagementProps{
EmergencyContactList: []interface{}{
&EmergencyContactProperty{
EmailAddress: jsii.String("emailAddress"),
// the properties below are optional
ContactNotes: jsii.String("contactNotes"),
PhoneNumber: jsii.String("phoneNumber"),
},
},
ProactiveEngagementStatus: jsii.String("proactiveEngagementStatus"),
}
Properties
emergencyContactListIResolvable | IResolvable | CfnProactiveEngagement.emergency_contact_listtyping.Union[IResolvable, typing.List[typing.Union[IResolvable, EmergencyContactProperty]]]emergencyContactListIResolvableEmergencyContactListIResolvableEmergencyContactListinterface{} required #The list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you for escalations to the SRT and to initiate proactive customer support, plus any relevant notes.
notes
To enable proactive engagement, the contact list must include at least one phone number.
If you provide more than one contact, in the notes, indicate the circumstances under which each contact should be used. Include primary and secondary contact designations, and provide the hours of availability and time zones for each contact.
Example contact notes:
- This is a hotline that's staffed 24x7x365. Please work with the responding analyst and they will get the appropriate person on the call.
- Please contact the secondary phone number if the hotline doesn't respond within 5 minutes.
proactiveEngagementStatusstringproactive_engagement_statusstrproactiveEngagementStatusStringProactiveEngagementStatusstringProactiveEngagementStatus*string required #Specifies whether proactive engagement is enabled or disabled.
notes
Valid values:
ENABLED - The Shield Response Team (SRT) will use email and phone to notify contacts about escalations to the SRT and to initiate proactive customer support.
DISABLED - The SRT will not proactively notify contacts about escalations or to initiate proactive customer support.