Class CfnProcurementPortalPreference
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.invoicing.CfnProcurementPortalPreference
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IProcurementPortalPreferenceRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:11.713Z")
@Stability(Stable)
public class CfnProcurementPortalPreference
extends CfnResource
implements IInspectable, IProcurementPortalPreferenceRef, ITaggableV2
Creates and manages a procurement portal preference configuration for e-invoice delivery and purchase order retrieval.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.invoicing.*;
CfnProcurementPortalPreference cfnProcurementPortalPreference = CfnProcurementPortalPreference.Builder.create(this, "MyCfnProcurementPortalPreference")
.buyerDomain("buyerDomain")
.buyerIdentifier("buyerIdentifier")
.contacts(List.of(ContactProperty.builder()
.email("email")
.name("name")
.build()))
.einvoiceDeliveryEnabled(false)
.procurementPortalName("procurementPortalName")
.purchaseOrderRetrievalEnabled(false)
.supplierDomain("supplierDomain")
.supplierIdentifier("supplierIdentifier")
// the properties below are optional
.einvoiceDeliveryPreference(EinvoiceDeliveryPreferenceProperty.builder()
.connectionTestingMethod("connectionTestingMethod")
.einvoiceDeliveryActivationDate("einvoiceDeliveryActivationDate")
.einvoiceDeliveryAttachmentTypes(List.of("einvoiceDeliveryAttachmentTypes"))
.einvoiceDeliveryDocumentTypes(List.of("einvoiceDeliveryDocumentTypes"))
.protocol("protocol")
.purchaseOrderDataSources(List.of(PurchaseOrderDataSourceProperty.builder()
.einvoiceDeliveryDocumentType("einvoiceDeliveryDocumentType")
.purchaseOrderDataSourceType("purchaseOrderDataSourceType")
.build()))
.build())
.procurementPortalInstanceEndpoint("procurementPortalInstanceEndpoint")
.procurementPortalSharedSecret("procurementPortalSharedSecret")
.selector(ProcurementPortalPreferenceSelectorProperty.builder()
.invoiceUnitArns(List.of("invoiceUnitArns"))
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.testEnvPreference(TestEnvPreferenceProperty.builder()
.buyerDomain("buyerDomain")
.buyerIdentifier("buyerIdentifier")
.procurementPortalInstanceEndpoint("procurementPortalInstanceEndpoint")
.procurementPortalSharedSecret("procurementPortalSharedSecret")
.supplierDomain("supplierDomain")
.supplierIdentifier("supplierIdentifier")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnProcurementPortalPreference.static interfaceContact information for a person or role associated with the procurement portal preference.static interfaceSpecifies the preferences for e-invoice delivery.static interfaceSpecifies criteria for selecting which invoices should be processed.static interfaceSpecifies the source configuration for retrieving purchase order data.static interfaceConfiguration settings for the test environment of the procurement portal.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.invoicing.IProcurementPortalPreferenceRef
IProcurementPortalPreferenceRef.Jsii$Default, IProcurementPortalPreferenceRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnProcurementPortalPreference(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnProcurementPortalPreference(software.amazon.jsii.JsiiObjectRef objRef) CfnProcurementPortalPreference(software.constructs.Construct scope, String id, CfnProcurementPortalPreferenceProps props) Create a newAWS::Invoicing::ProcurementPortalPreference. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringThe AWS account ID associated with this procurement portal preference.The date and time when the procurement portal preference was created.The current status of the e-invoice delivery preference.The date and time when the procurement portal preference was last updated.The Amazon Resource Name (ARN) of the procurement portal preference.The endpoint URL used for retrieving purchase orders from the procurement portal.The current status of the purchase order retrieval preference.The version number of the procurement portal preference configuration.The domain identifier for the buyer in the procurement portal.The unique identifier for the buyer in the procurement portal.Tag Manager which manages the tags for this resource.List of contact information for portal administrators and technical contacts.Indicates whether e-invoice delivery is enabled for this procurement portal preference.Specifies the preferences for e-invoice delivery.The endpoint URL where e-invoices are delivered to the procurement portal.The name of the procurement portal.A reference to a ProcurementPortalPreference resource.The shared secret or authentication credential used for secure communication with the procurement portal.Indicates whether purchase order retrieval is enabled for this procurement portal preference.Specifies criteria for selecting which invoices should be processed.The domain identifier for the supplier in the procurement portal.The unique identifier for the supplier in the procurement portal.getTags()The tags associated with this procurement portal preference.Configuration settings for the test environment of the procurement portal.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnProcurementPortalPreference.renderProperties(Map<String, Object> props) voidsetBuyerDomain(String value) The domain identifier for the buyer in the procurement portal.voidsetBuyerIdentifier(String value) The unique identifier for the buyer in the procurement portal.voidsetContacts(List<Object> value) List of contact information for portal administrators and technical contacts.voidsetContacts(IResolvable value) List of contact information for portal administrators and technical contacts.voidIndicates whether e-invoice delivery is enabled for this procurement portal preference.voidIndicates whether e-invoice delivery is enabled for this procurement portal preference.voidSpecifies the preferences for e-invoice delivery.voidsetEinvoiceDeliveryPreference(CfnProcurementPortalPreference.EinvoiceDeliveryPreferenceProperty value) Specifies the preferences for e-invoice delivery.voidThe endpoint URL where e-invoices are delivered to the procurement portal.voidsetProcurementPortalName(String value) The name of the procurement portal.voidThe shared secret or authentication credential used for secure communication with the procurement portal.voidIndicates whether purchase order retrieval is enabled for this procurement portal preference.voidIndicates whether purchase order retrieval is enabled for this procurement portal preference.voidsetSelector(IResolvable value) Specifies criteria for selecting which invoices should be processed.voidSpecifies criteria for selecting which invoices should be processed.voidsetSupplierDomain(String value) The domain identifier for the supplier in the procurement portal.voidsetSupplierIdentifier(String value) The unique identifier for the supplier in the procurement portal.voidThe tags associated with this procurement portal preference.voidsetTestEnvPreference(IResolvable value) Configuration settings for the test environment of the procurement portal.voidConfiguration settings for the test environment of the procurement portal.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnProcurementPortalPreference
protected CfnProcurementPortalPreference(software.amazon.jsii.JsiiObjectRef objRef) -
CfnProcurementPortalPreference
protected CfnProcurementPortalPreference(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnProcurementPortalPreference
@Stability(Stable) public CfnProcurementPortalPreference(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnProcurementPortalPreferenceProps props) Create a newAWS::Invoicing::ProcurementPortalPreference.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForProcurementPortalPreference
@Stability(Stable) @NotNull public static String arnForProcurementPortalPreference(@NotNull IProcurementPortalPreferenceRef resource) - Parameters:
resource- This parameter is required.
-
isCfnProcurementPortalPreference
@Stability(Stable) @NotNull public static Boolean isCfnProcurementPortalPreference(@NotNull Object x) Checks whether the given object is a CfnProcurementPortalPreference.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrAwsAccountId
The AWS account ID associated with this procurement portal preference. -
getAttrCreateDate
The date and time when the procurement portal preference was created. -
getAttrEinvoiceDeliveryPreferenceStatus
The current status of the e-invoice delivery preference. -
getAttrLastUpdateDate
The date and time when the procurement portal preference was last updated. -
getAttrProcurementPortalPreferenceArn
The Amazon Resource Name (ARN) of the procurement portal preference. -
getAttrPurchaseOrderRetrievalEndpoint
The endpoint URL used for retrieving purchase orders from the procurement portal. -
getAttrPurchaseOrderRetrievalPreferenceStatus
The current status of the purchase order retrieval preference. -
getAttrVersion
The version number of the procurement portal preference configuration. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getProcurementPortalPreferenceRef
@Stability(Stable) @NotNull public ProcurementPortalPreferenceReference getProcurementPortalPreferenceRef()A reference to a ProcurementPortalPreference resource.- Specified by:
getProcurementPortalPreferenceRefin interfaceIProcurementPortalPreferenceRef
-
getBuyerDomain
The domain identifier for the buyer in the procurement portal. -
setBuyerDomain
The domain identifier for the buyer in the procurement portal. -
getBuyerIdentifier
The unique identifier for the buyer in the procurement portal. -
setBuyerIdentifier
The unique identifier for the buyer in the procurement portal. -
getContacts
List of contact information for portal administrators and technical contacts.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnProcurementPortalPreference.ContactProperty> -
setContacts
List of contact information for portal administrators and technical contacts. -
setContacts
List of contact information for portal administrators and technical contacts. -
getEinvoiceDeliveryEnabled
Indicates whether e-invoice delivery is enabled for this procurement portal preference.Returns union: either
BooleanorIResolvable -
setEinvoiceDeliveryEnabled
Indicates whether e-invoice delivery is enabled for this procurement portal preference. -
setEinvoiceDeliveryEnabled
Indicates whether e-invoice delivery is enabled for this procurement portal preference. -
getProcurementPortalName
The name of the procurement portal. -
setProcurementPortalName
The name of the procurement portal. -
getPurchaseOrderRetrievalEnabled
Indicates whether purchase order retrieval is enabled for this procurement portal preference.Returns union: either
BooleanorIResolvable -
setPurchaseOrderRetrievalEnabled
Indicates whether purchase order retrieval is enabled for this procurement portal preference. -
setPurchaseOrderRetrievalEnabled
Indicates whether purchase order retrieval is enabled for this procurement portal preference. -
getSupplierDomain
The domain identifier for the supplier in the procurement portal. -
setSupplierDomain
The domain identifier for the supplier in the procurement portal. -
getSupplierIdentifier
The unique identifier for the supplier in the procurement portal. -
setSupplierIdentifier
The unique identifier for the supplier in the procurement portal. -
getEinvoiceDeliveryPreference
Specifies the preferences for e-invoice delivery.Returns union: either
IResolvableorCfnProcurementPortalPreference.EinvoiceDeliveryPreferenceProperty -
setEinvoiceDeliveryPreference
Specifies the preferences for e-invoice delivery. -
setEinvoiceDeliveryPreference
@Stability(Stable) public void setEinvoiceDeliveryPreference(@Nullable CfnProcurementPortalPreference.EinvoiceDeliveryPreferenceProperty value) Specifies the preferences for e-invoice delivery. -
getProcurementPortalInstanceEndpoint
The endpoint URL where e-invoices are delivered to the procurement portal. -
setProcurementPortalInstanceEndpoint
The endpoint URL where e-invoices are delivered to the procurement portal. -
getSelector
Specifies criteria for selecting which invoices should be processed.Returns union: either
IResolvableorCfnProcurementPortalPreference.ProcurementPortalPreferenceSelectorProperty -
setSelector
Specifies criteria for selecting which invoices should be processed. -
setSelector
@Stability(Stable) public void setSelector(@Nullable CfnProcurementPortalPreference.ProcurementPortalPreferenceSelectorProperty value) Specifies criteria for selecting which invoices should be processed. -
getTags
The tags associated with this procurement portal preference. -
setTags
The tags associated with this procurement portal preference. -
getTestEnvPreference
Configuration settings for the test environment of the procurement portal.Returns union: either
IResolvableorCfnProcurementPortalPreference.TestEnvPreferenceProperty -
setTestEnvPreference
Configuration settings for the test environment of the procurement portal. -
setTestEnvPreference
@Stability(Stable) public void setTestEnvPreference(@Nullable CfnProcurementPortalPreference.TestEnvPreferenceProperty value) Configuration settings for the test environment of the procurement portal.
-