/AWS1/CL_NWSCREATEPOLICYOUTPUT¶
CreatePolicyOutput
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_policyid TYPE /AWS1/NWSPOLICYID /AWS1/NWSPOLICYID¶
The service-generated id of the policy.
iv_policyarn TYPE /AWS1/NWSPOLICYARN /AWS1/NWSPOLICYARN¶
The Amazon Resource Name (ARN) of the policy.
iv_policyname TYPE /AWS1/NWSPOLICYNAME /AWS1/NWSPOLICYNAME¶
The name of the policy.
iv_status TYPE /AWS1/NWSENTITYSTATUS /AWS1/NWSENTITYSTATUS¶
The current status of the resource:
DRAFT(unpublished, editable) orACTIVE(published, in use).
iv_priority TYPE /AWS1/NWSPRIORITY /AWS1/NWSPRIORITY¶
The priority of the resource. A lower number indicates a higher priority.
it_assoctemplateandrulelist TYPE /AWS1/CL_NWSASSOCTMPLORRULE=>TT_ASSOCTEMPLATEANDRULELIST TT_ASSOCTEMPLATEANDRULELIST¶
The templates and rules associated with the policy. For AWS WAF policies, this list contains 1 to 100 templates or rules, of which at most 2 can be templates. For AWS Shield Advanced policies, this list is empty.
iv_version TYPE /AWS1/NWSENTITYVERSION /AWS1/NWSENTITYVERSION¶
The version of the resource.
iv_firewalltype TYPE /AWS1/NWSPOLICYFIREWALLTYPE /AWS1/NWSPOLICYFIREWALLTYPE¶
The firewall type associated with the resource.
Optional arguments:¶
iv_policydescription TYPE /AWS1/NWSDESCRIPTION /AWS1/NWSDESCRIPTION¶
A description of the policy.
iv_updatetoken TYPE /AWS1/NWSUPDATETOKEN /AWS1/NWSUPDATETOKEN¶
A token used for optimistic concurrency control. Each read and write returns an
updateToken. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.
iv_issnapshot TYPE /AWS1/NWSISSNAPSHOT /AWS1/NWSISSNAPSHOT¶
Specifies whether the resource is a snapshot of a published version.
iv_haspublishedversion TYPE /AWS1/NWSHASPUBLISHEDVERSION /AWS1/NWSHASPUBLISHEDVERSION¶
Specifies whether a published version of the resource exists.
io_policyconfiguration TYPE REF TO /AWS1/CL_NWSPOLICYCONF /AWS1/CL_NWSPOLICYCONF¶
The configuration settings that control the policy's behavior, including remediation and firewall-type-specific settings.
iv_updatedat TYPE /AWS1/NWSDATETIMESTAMP /AWS1/NWSDATETIMESTAMP¶
The time when the resource was last updated.
Queryable Attributes¶
policyId¶
The service-generated id of the policy.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_POLICYID() |
Getter for POLICYID, with configurable default |
ASK_POLICYID() |
Getter for POLICYID w/ exceptions if field has no value |
HAS_POLICYID() |
Determine if POLICYID has a value |
policyArn¶
The Amazon Resource Name (ARN) of the policy.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_POLICYARN() |
Getter for POLICYARN, with configurable default |
ASK_POLICYARN() |
Getter for POLICYARN w/ exceptions if field has no value |
HAS_POLICYARN() |
Determine if POLICYARN has a value |
policyName¶
The name of the policy.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_POLICYNAME() |
Getter for POLICYNAME, with configurable default |
ASK_POLICYNAME() |
Getter for POLICYNAME w/ exceptions if field has no value |
HAS_POLICYNAME() |
Determine if POLICYNAME has a value |
policyDescription¶
A description of the policy.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_POLICYDESCRIPTION() |
Getter for POLICYDESCRIPTION, with configurable default |
ASK_POLICYDESCRIPTION() |
Getter for POLICYDESCRIPTION w/ exceptions if field has no v |
HAS_POLICYDESCRIPTION() |
Determine if POLICYDESCRIPTION has a value |
status¶
The current status of the resource:
DRAFT(unpublished, editable) orACTIVE(published, in use).
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STATUS() |
Getter for STATUS, with configurable default |
ASK_STATUS() |
Getter for STATUS w/ exceptions if field has no value |
HAS_STATUS() |
Determine if STATUS has a value |
priority¶
The priority of the resource. A lower number indicates a higher priority.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PRIORITY() |
Getter for PRIORITY, with configurable default |
ASK_PRIORITY() |
Getter for PRIORITY w/ exceptions if field has no value |
HAS_PRIORITY() |
Determine if PRIORITY has a value |
associatedTemplateAndRuleList¶
The templates and rules associated with the policy. For AWS WAF policies, this list contains 1 to 100 templates or rules, of which at most 2 can be templates. For AWS Shield Advanced policies, this list is empty.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ASSOCTEMPLATEANDRULELIST() |
Getter for ASSOCTEMPLATEANDRULELIST, with configurable defau |
ASK_ASSOCTEMPLATEANDRULELIST() |
Getter for ASSOCTEMPLATEANDRULELIST w/ exceptions if field h |
HAS_ASSOCTEMPLATEANDRULELIST() |
Determine if ASSOCTEMPLATEANDRULELIST has a value |
version¶
The version of the resource.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_VERSION() |
Getter for VERSION, with configurable default |
ASK_VERSION() |
Getter for VERSION w/ exceptions if field has no value |
HAS_VERSION() |
Determine if VERSION has a value |
updateToken¶
A token used for optimistic concurrency control. Each read and write returns an
updateToken. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_UPDATETOKEN() |
Getter for UPDATETOKEN, with configurable default |
ASK_UPDATETOKEN() |
Getter for UPDATETOKEN w/ exceptions if field has no value |
HAS_UPDATETOKEN() |
Determine if UPDATETOKEN has a value |
isSnapshot¶
Specifies whether the resource is a snapshot of a published version.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ISSNAPSHOT() |
Getter for ISSNAPSHOT, with configurable default |
ASK_ISSNAPSHOT() |
Getter for ISSNAPSHOT w/ exceptions if field has no value |
HAS_ISSNAPSHOT() |
Determine if ISSNAPSHOT has a value |
hasPublishedVersion¶
Specifies whether a published version of the resource exists.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_HASPUBLISHEDVERSION() |
Getter for HASPUBLISHEDVERSION, with configurable default |
ASK_HASPUBLISHEDVERSION() |
Getter for HASPUBLISHEDVERSION w/ exceptions if field has no |
HAS_HASPUBLISHEDVERSION() |
Determine if HASPUBLISHEDVERSION has a value |
firewallType¶
The firewall type associated with the resource.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FIREWALLTYPE() |
Getter for FIREWALLTYPE, with configurable default |
ASK_FIREWALLTYPE() |
Getter for FIREWALLTYPE w/ exceptions if field has no value |
HAS_FIREWALLTYPE() |
Determine if FIREWALLTYPE has a value |
policyConfiguration¶
The configuration settings that control the policy's behavior, including remediation and firewall-type-specific settings.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_POLICYCONFIGURATION() |
Getter for POLICYCONFIGURATION |
updatedAt¶
The time when the resource was last updated.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_UPDATEDAT() |
Getter for UPDATEDAT, with configurable default |
ASK_UPDATEDAT() |
Getter for UPDATEDAT w/ exceptions if field has no value |
HAS_UPDATEDAT() |
Determine if UPDATEDAT has a value |