Documentation
¶
Index ¶
- func CfnCloudAutonomousVmCluster_CFN_RESOURCE_TYPE_NAME() *string
- func CfnCloudAutonomousVmCluster_IsCfnElement(x interface{}) *bool
- func CfnCloudAutonomousVmCluster_IsCfnResource(x interface{}) *bool
- func CfnCloudAutonomousVmCluster_IsConstruct(x interface{}) *bool
- func CfnCloudExadataInfrastructure_CFN_RESOURCE_TYPE_NAME() *string
- func CfnCloudExadataInfrastructure_IsCfnElement(x interface{}) *bool
- func CfnCloudExadataInfrastructure_IsCfnResource(x interface{}) *bool
- func CfnCloudExadataInfrastructure_IsConstruct(x interface{}) *bool
- func CfnCloudVmCluster_CFN_RESOURCE_TYPE_NAME() *string
- func CfnCloudVmCluster_IsCfnElement(x interface{}) *bool
- func CfnCloudVmCluster_IsCfnResource(x interface{}) *bool
- func CfnCloudVmCluster_IsConstruct(x interface{}) *bool
- func CfnOdbNetwork_CFN_RESOURCE_TYPE_NAME() *string
- func CfnOdbNetwork_IsCfnElement(x interface{}) *bool
- func CfnOdbNetwork_IsCfnResource(x interface{}) *bool
- func CfnOdbNetwork_IsConstruct(x interface{}) *bool
- func NewCfnCloudAutonomousVmCluster_Override(c CfnCloudAutonomousVmCluster, scope constructs.Construct, id *string, ...)
- func NewCfnCloudExadataInfrastructure_Override(c CfnCloudExadataInfrastructure, scope constructs.Construct, id *string, ...)
- func NewCfnCloudVmCluster_Override(c CfnCloudVmCluster, scope constructs.Construct, id *string, ...)
- func NewCfnOdbNetwork_Override(c CfnOdbNetwork, scope constructs.Construct, id *string, ...)
- type CfnCloudAutonomousVmCluster
- type CfnCloudAutonomousVmClusterProps
- type CfnCloudAutonomousVmCluster_MaintenanceWindowProperty
- type CfnCloudExadataInfrastructure
- type CfnCloudExadataInfrastructureProps
- type CfnCloudExadataInfrastructure_CustomerContactProperty
- type CfnCloudVmCluster
- type CfnCloudVmClusterProps
- type CfnCloudVmCluster_DataCollectionOptionsProperty
- type CfnOdbNetwork
- type CfnOdbNetworkProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnCloudAutonomousVmCluster_CFN_RESOURCE_TYPE_NAME ¶
func CfnCloudAutonomousVmCluster_CFN_RESOURCE_TYPE_NAME() *string
func CfnCloudAutonomousVmCluster_IsCfnElement ¶
func CfnCloudAutonomousVmCluster_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnCloudAutonomousVmCluster_IsCfnResource ¶
func CfnCloudAutonomousVmCluster_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnCloudAutonomousVmCluster_IsConstruct ¶
func CfnCloudAutonomousVmCluster_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnCloudExadataInfrastructure_CFN_RESOURCE_TYPE_NAME ¶
func CfnCloudExadataInfrastructure_CFN_RESOURCE_TYPE_NAME() *string
func CfnCloudExadataInfrastructure_IsCfnElement ¶
func CfnCloudExadataInfrastructure_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnCloudExadataInfrastructure_IsCfnResource ¶
func CfnCloudExadataInfrastructure_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnCloudExadataInfrastructure_IsConstruct ¶
func CfnCloudExadataInfrastructure_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnCloudVmCluster_CFN_RESOURCE_TYPE_NAME ¶
func CfnCloudVmCluster_CFN_RESOURCE_TYPE_NAME() *string
func CfnCloudVmCluster_IsCfnElement ¶
func CfnCloudVmCluster_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnCloudVmCluster_IsCfnResource ¶
func CfnCloudVmCluster_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnCloudVmCluster_IsConstruct ¶
func CfnCloudVmCluster_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnOdbNetwork_CFN_RESOURCE_TYPE_NAME ¶
func CfnOdbNetwork_CFN_RESOURCE_TYPE_NAME() *string
func CfnOdbNetwork_IsCfnElement ¶
func CfnOdbNetwork_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnOdbNetwork_IsCfnResource ¶
func CfnOdbNetwork_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnOdbNetwork_IsConstruct ¶
func CfnOdbNetwork_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func NewCfnCloudAutonomousVmCluster_Override ¶
func NewCfnCloudAutonomousVmCluster_Override(c CfnCloudAutonomousVmCluster, scope constructs.Construct, id *string, props *CfnCloudAutonomousVmClusterProps)
func NewCfnCloudExadataInfrastructure_Override ¶
func NewCfnCloudExadataInfrastructure_Override(c CfnCloudExadataInfrastructure, scope constructs.Construct, id *string, props *CfnCloudExadataInfrastructureProps)
func NewCfnCloudVmCluster_Override ¶
func NewCfnCloudVmCluster_Override(c CfnCloudVmCluster, scope constructs.Construct, id *string, props *CfnCloudVmClusterProps)
func NewCfnOdbNetwork_Override ¶
func NewCfnOdbNetwork_Override(c CfnOdbNetwork, scope constructs.Construct, id *string, props *CfnOdbNetworkProps)
Types ¶
type CfnCloudAutonomousVmCluster ¶
type CfnCloudAutonomousVmCluster interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggableV2 // The percentage of data storage currently in use for Autonomous Databases in the Autonomous VM cluster. AttrAutonomousDataStoragePercentage() awscdk.IResolvable // The available data storage space for Autonomous Databases in the Autonomous VM cluster, in TB. AttrAvailableAutonomousDataStorageSizeInTBs() awscdk.IResolvable // The number of Autonomous CDBs that you can create with the currently available storage. AttrAvailableContainerDatabases() *float64 // The number of CPU cores available for allocation to Autonomous Databases. AttrAvailableCpus() awscdk.IResolvable // The Amazon Resource Name (ARN) for the Autonomous VM cluster. AttrCloudAutonomousVmClusterArn() *string // The unique identifier of the Autonomous VM cluster. AttrCloudAutonomousVmClusterId() *string // The compute model of the Autonomous VM cluster: ECPU or OCPU. AttrComputeModel() *string // The total number of CPU cores in the Autonomous VM cluster. AttrCpuCoreCount() *float64 // The percentage of total CPU cores currently in use in the Autonomous VM cluster. AttrCpuPercentage() awscdk.IResolvable // The total data storage allocated to the Autonomous VM cluster, in GB. AttrDataStorageSizeInGBs() awscdk.IResolvable // The total data storage allocated to the Autonomous VM cluster, in TB. AttrDataStorageSizeInTBs() awscdk.IResolvable // The local node storage allocated to the Autonomous VM cluster, in gigabytes (GB). AttrDbNodeStorageSizeInGBs() *float64 // The domain name for the Autonomous VM cluster. AttrDomain() *string // The minimum value to which you can scale down the Exadata storage, in TB. AttrExadataStorageInTBsLowestScaledValue() awscdk.IResolvable // The hostname for the Autonomous VM cluster. AttrHostname() *string // The minimum value to which you can scale down the maximum number of Autonomous CDBs. AttrMaxAcdsLowestScaledValue() *float64 // The total amount of memory allocated to the Autonomous VM cluster, in gigabytes (GB). AttrMemorySizeInGBs() *float64 // The number of database server nodes in the Autonomous VM cluster. AttrNodeCount() *float64 // The number of Autonomous CDBs that can't be provisioned because of resource constraints. AttrNonProvisionableAutonomousContainerDatabases() *float64 // The Oracle Cloud Identifier (OCID) of the Autonomous VM cluster. AttrOcid() *string // The name of the OCI resource anchor associated with this Autonomous VM cluster. AttrOciResourceAnchorName() *string // The URL for accessing the OCI console page for this Autonomous VM cluster. AttrOciUrl() *string // The number of Autonomous CDBs that can be provisioned in the Autonomous VM cluster. AttrProvisionableAutonomousContainerDatabases() *float64 // The number of Autonomous CDBs currently provisioned in the Autonomous VM cluster. AttrProvisionedAutonomousContainerDatabases() *float64 // The number of CPU cores currently provisioned in the Autonomous VM cluster. AttrProvisionedCpus() awscdk.IResolvable // The number of CPU cores that can be reclaimed from terminated or scaled-down Autonomous Databases. AttrReclaimableCpus() awscdk.IResolvable // The number of CPU cores reserved for system operations and redundancy. AttrReservedCpus() awscdk.IResolvable // The shape of the Exadata infrastructure for the Autonomous VM cluster. AttrShape() *string // The data storage size allocated for Autonomous Databases in the Autonomous VM cluster, in TB. AutonomousDataStorageSizeInTBs() *float64 SetAutonomousDataStorageSizeInTBs(val *float64) // Tag Manager which manages the tags for this resource. CdkTagManager() awscdk.TagManager // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // The unique identifier of the Cloud Exadata Infrastructure containing this Autonomous VM cluster. CloudExadataInfrastructureId() *string SetCloudExadataInfrastructureId(val *string) // The number of CPU cores enabled per node in the Autonomous VM cluster. CpuCoreCountPerNode() *float64 SetCpuCoreCountPerNode(val *float64) // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The list of database servers associated with the Autonomous VM cluster. DbServers() *[]*string SetDbServers(val *[]*string) // The user-provided description of the Autonomous VM cluster. Description() *string SetDescription(val *string) // The display name of the Autonomous VM cluster. DisplayName() *string SetDisplayName(val *string) // Specifies whether mutual TLS (mTLS) authentication is enabled for the Autonomous VM cluster. IsMtlsEnabledVmCluster() interface{} SetIsMtlsEnabledVmCluster(val interface{}) // The Oracle license model that applies to the Autonomous VM cluster. LicenseModel() *string SetLicenseModel(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The scheduling details for the maintenance window. MaintenanceWindow() interface{} SetMaintenanceWindow(val interface{}) // The amount of memory allocated per Oracle Compute Unit, in GB. MemoryPerOracleComputeUnitInGBs() *float64 SetMemoryPerOracleComputeUnitInGBs(val *float64) // The tree node. Node() constructs.Node // The unique identifier of the ODB network associated with this Autonomous VM cluster. OdbNetworkId() *string SetOdbNetworkId(val *string) // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The SCAN listener port for non-TLS (TCP) protocol. ScanListenerPortNonTls() *float64 SetScanListenerPortNonTls(val *float64) // The SCAN listener port for TLS (TCP) protocol. ScanListenerPortTls() *float64 SetScanListenerPortTls(val *float64) // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // Tags to assign to the Autonomous Vm Cluster. Tags() *[]*awscdk.CfnTag SetTags(val *[]*awscdk.CfnTag) // The time zone of the Autonomous VM cluster. TimeZone() *string SetTimeZone(val *string) // The total number of Autonomous Container Databases that can be created with the allocated local storage. TotalContainerDatabases() *float64 SetTotalContainerDatabases(val *float64) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
The `AWS::ODB::CloudAutonomousVmCluster` resource creates an Autonomous VM cluster.
An Autonomous VM cluster provides the infrastructure for running Autonomous Databases.
Example:
// 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" cfnCloudAutonomousVmCluster := awscdk.Aws_odb.NewCfnCloudAutonomousVmCluster(this, jsii.String("MyCfnCloudAutonomousVmCluster"), &CfnCloudAutonomousVmClusterProps{ AutonomousDataStorageSizeInTBs: jsii.Number(123), CloudExadataInfrastructureId: jsii.String("cloudExadataInfrastructureId"), CpuCoreCountPerNode: jsii.Number(123), DbServers: []*string{ jsii.String("dbServers"), }, Description: jsii.String("description"), DisplayName: jsii.String("displayName"), IsMtlsEnabledVmCluster: jsii.Boolean(false), LicenseModel: jsii.String("licenseModel"), MaintenanceWindow: &MaintenanceWindowProperty{ DaysOfWeek: []*string{ jsii.String("daysOfWeek"), }, HoursOfDay: []interface{}{ jsii.Number(123), }, LeadTimeInWeeks: jsii.Number(123), Months: []*string{ jsii.String("months"), }, Preference: jsii.String("preference"), WeeksOfMonth: []interface{}{ jsii.Number(123), }, }, MemoryPerOracleComputeUnitInGBs: jsii.Number(123), OdbNetworkId: jsii.String("odbNetworkId"), ScanListenerPortNonTls: jsii.Number(123), ScanListenerPortTls: jsii.Number(123), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, TimeZone: jsii.String("timeZone"), TotalContainerDatabases: jsii.Number(123), })
func NewCfnCloudAutonomousVmCluster ¶
func NewCfnCloudAutonomousVmCluster(scope constructs.Construct, id *string, props *CfnCloudAutonomousVmClusterProps) CfnCloudAutonomousVmCluster
type CfnCloudAutonomousVmClusterProps ¶
type CfnCloudAutonomousVmClusterProps struct { // The data storage size allocated for Autonomous Databases in the Autonomous VM cluster, in TB. // // Required when creating an Autonomous VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudautonomousvmcluster.html#cfn-odb-cloudautonomousvmcluster-autonomousdatastoragesizeintbs // AutonomousDataStorageSizeInTBs *float64 `field:"optional" json:"autonomousDataStorageSizeInTBs" yaml:"autonomousDataStorageSizeInTBs"` // The unique identifier of the Cloud Exadata Infrastructure containing this Autonomous VM cluster. // // Required when creating an Autonomous VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudautonomousvmcluster.html#cfn-odb-cloudautonomousvmcluster-cloudexadatainfrastructureid // CloudExadataInfrastructureId *string `field:"optional" json:"cloudExadataInfrastructureId" yaml:"cloudExadataInfrastructureId"` // The number of CPU cores enabled per node in the Autonomous VM cluster. // // Required when creating an Autonomous VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudautonomousvmcluster.html#cfn-odb-cloudautonomousvmcluster-cpucorecountpernode // CpuCoreCountPerNode *float64 `field:"optional" json:"cpuCoreCountPerNode" yaml:"cpuCoreCountPerNode"` // The list of database servers associated with the Autonomous VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudautonomousvmcluster.html#cfn-odb-cloudautonomousvmcluster-dbservers // DbServers *[]*string `field:"optional" json:"dbServers" yaml:"dbServers"` // The user-provided description of the Autonomous VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudautonomousvmcluster.html#cfn-odb-cloudautonomousvmcluster-description // Description *string `field:"optional" json:"description" yaml:"description"` // The display name of the Autonomous VM cluster. // // Required when creating an Autonomous VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudautonomousvmcluster.html#cfn-odb-cloudautonomousvmcluster-displayname // DisplayName *string `field:"optional" json:"displayName" yaml:"displayName"` // Specifies whether mutual TLS (mTLS) authentication is enabled for the Autonomous VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudautonomousvmcluster.html#cfn-odb-cloudautonomousvmcluster-ismtlsenabledvmcluster // IsMtlsEnabledVmCluster interface{} `field:"optional" json:"isMtlsEnabledVmCluster" yaml:"isMtlsEnabledVmCluster"` // The Oracle license model that applies to the Autonomous VM cluster. // // Valid values are `LICENSE_INCLUDED` or `BRING_YOUR_OWN_LICENSE` . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudautonomousvmcluster.html#cfn-odb-cloudautonomousvmcluster-licensemodel // LicenseModel *string `field:"optional" json:"licenseModel" yaml:"licenseModel"` // The scheduling details for the maintenance window. // // Patching and system updates take place during the maintenance window. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudautonomousvmcluster.html#cfn-odb-cloudautonomousvmcluster-maintenancewindow // MaintenanceWindow interface{} `field:"optional" json:"maintenanceWindow" yaml:"maintenanceWindow"` // The amount of memory allocated per Oracle Compute Unit, in GB. // // Required when creating an Autonomous VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudautonomousvmcluster.html#cfn-odb-cloudautonomousvmcluster-memoryperoraclecomputeunitingbs // MemoryPerOracleComputeUnitInGBs *float64 `field:"optional" json:"memoryPerOracleComputeUnitInGBs" yaml:"memoryPerOracleComputeUnitInGBs"` // The unique identifier of the ODB network associated with this Autonomous VM cluster. // // Required when creating an Autonomous VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudautonomousvmcluster.html#cfn-odb-cloudautonomousvmcluster-odbnetworkid // OdbNetworkId *string `field:"optional" json:"odbNetworkId" yaml:"odbNetworkId"` // The SCAN listener port for non-TLS (TCP) protocol. // // The default is 1521. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudautonomousvmcluster.html#cfn-odb-cloudautonomousvmcluster-scanlistenerportnontls // ScanListenerPortNonTls *float64 `field:"optional" json:"scanListenerPortNonTls" yaml:"scanListenerPortNonTls"` // The SCAN listener port for TLS (TCP) protocol. // // The default is 2484. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudautonomousvmcluster.html#cfn-odb-cloudautonomousvmcluster-scanlistenerporttls // ScanListenerPortTls *float64 `field:"optional" json:"scanListenerPortTls" yaml:"scanListenerPortTls"` // Tags to assign to the Autonomous Vm Cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudautonomousvmcluster.html#cfn-odb-cloudautonomousvmcluster-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` // The time zone of the Autonomous VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudautonomousvmcluster.html#cfn-odb-cloudautonomousvmcluster-timezone // TimeZone *string `field:"optional" json:"timeZone" yaml:"timeZone"` // The total number of Autonomous Container Databases that can be created with the allocated local storage. // // Required when creating an Autonomous VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudautonomousvmcluster.html#cfn-odb-cloudautonomousvmcluster-totalcontainerdatabases // TotalContainerDatabases *float64 `field:"optional" json:"totalContainerDatabases" yaml:"totalContainerDatabases"` }
Properties for defining a `CfnCloudAutonomousVmCluster`.
Example:
// 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" cfnCloudAutonomousVmClusterProps := &CfnCloudAutonomousVmClusterProps{ AutonomousDataStorageSizeInTBs: jsii.Number(123), CloudExadataInfrastructureId: jsii.String("cloudExadataInfrastructureId"), CpuCoreCountPerNode: jsii.Number(123), DbServers: []*string{ jsii.String("dbServers"), }, Description: jsii.String("description"), DisplayName: jsii.String("displayName"), IsMtlsEnabledVmCluster: jsii.Boolean(false), LicenseModel: jsii.String("licenseModel"), MaintenanceWindow: &MaintenanceWindowProperty{ DaysOfWeek: []*string{ jsii.String("daysOfWeek"), }, HoursOfDay: []interface{}{ jsii.Number(123), }, LeadTimeInWeeks: jsii.Number(123), Months: []*string{ jsii.String("months"), }, Preference: jsii.String("preference"), WeeksOfMonth: []interface{}{ jsii.Number(123), }, }, MemoryPerOracleComputeUnitInGBs: jsii.Number(123), OdbNetworkId: jsii.String("odbNetworkId"), ScanListenerPortNonTls: jsii.Number(123), ScanListenerPortTls: jsii.Number(123), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, TimeZone: jsii.String("timeZone"), TotalContainerDatabases: jsii.Number(123), }
type CfnCloudAutonomousVmCluster_MaintenanceWindowProperty ¶
type CfnCloudAutonomousVmCluster_MaintenanceWindowProperty struct { // The days of the week when maintenance can be performed. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudautonomousvmcluster-maintenancewindow.html#cfn-odb-cloudautonomousvmcluster-maintenancewindow-daysofweek // DaysOfWeek *[]*string `field:"optional" json:"daysOfWeek" yaml:"daysOfWeek"` // The hours of the day when maintenance can be performed. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudautonomousvmcluster-maintenancewindow.html#cfn-odb-cloudautonomousvmcluster-maintenancewindow-hoursofday // HoursOfDay interface{} `field:"optional" json:"hoursOfDay" yaml:"hoursOfDay"` // The lead time in weeks before the maintenance window. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudautonomousvmcluster-maintenancewindow.html#cfn-odb-cloudautonomousvmcluster-maintenancewindow-leadtimeinweeks // LeadTimeInWeeks *float64 `field:"optional" json:"leadTimeInWeeks" yaml:"leadTimeInWeeks"` // The months when maintenance can be performed. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudautonomousvmcluster-maintenancewindow.html#cfn-odb-cloudautonomousvmcluster-maintenancewindow-months // Months *[]*string `field:"optional" json:"months" yaml:"months"` // The preference for the maintenance window scheduling. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudautonomousvmcluster-maintenancewindow.html#cfn-odb-cloudautonomousvmcluster-maintenancewindow-preference // Preference *string `field:"optional" json:"preference" yaml:"preference"` // The weeks of the month when maintenance can be performed. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudautonomousvmcluster-maintenancewindow.html#cfn-odb-cloudautonomousvmcluster-maintenancewindow-weeksofmonth // WeeksOfMonth interface{} `field:"optional" json:"weeksOfMonth" yaml:"weeksOfMonth"` }
The scheduling details for the maintenance window.
Patching and system updates take place during the maintenance window.
Example:
// 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" maintenanceWindowProperty := &MaintenanceWindowProperty{ DaysOfWeek: []*string{ jsii.String("daysOfWeek"), }, HoursOfDay: []interface{}{ jsii.Number(123), }, LeadTimeInWeeks: jsii.Number(123), Months: []*string{ jsii.String("months"), }, Preference: jsii.String("preference"), WeeksOfMonth: []interface{}{ jsii.Number(123), }, }
type CfnCloudExadataInfrastructure ¶
type CfnCloudExadataInfrastructure interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggableV2 // The number of storage servers requested for the Exadata infrastructure. AttrActivatedStorageCount() *float64 // The number of storage servers requested for the Exadata infrastructure. AttrAdditionalStorageCount() *float64 // The amount of available storage, in gigabytes (GB), for the Exadata infrastructure. AttrAvailableStorageSizeInGBs() *float64 // The Amazon Resource Name (ARN) for the Exadata infrastructure. AttrCloudExadataInfrastructureArn() *string // The unique identifier for the Exadata infrastructure. AttrCloudExadataInfrastructureId() *string // The OCI model compute model used when you create or clone an instance: ECPU or OCPU. // // An ECPU is an abstracted measure of compute resources. ECPUs are based on the number of cores elastically allocated from a pool of compute and storage servers. An OCPU is a legacy physical measure of compute resources. OCPUs are based on the physical core of a processor with hyper-threading enabled. AttrComputeModel() *string // The total number of CPU cores that are allocated to the Exadata infrastructure. AttrCpuCount() *float64 // The size of the Exadata infrastructure's data disk group, in terabytes (TB). AttrDataStorageSizeInTBs() awscdk.IResolvable // The size of the Exadata infrastructure's local node storage, in gigabytes (GB). AttrDbNodeStorageSizeInGBs() *float64 // The list of database server identifiers for the Exadata infrastructure. AttrDbServerIds() *[]*string // The software version of the database servers (dom0) in the Exadata infrastructure. AttrDbServerVersion() *string // The total number of CPU cores available on the Exadata infrastructure. AttrMaxCpuCount() *float64 // The total amount of data disk group storage, in terabytes (TB), that's available on the Exadata infrastructure. AttrMaxDataStorageInTBs() awscdk.IResolvable // The total amount of local node storage, in gigabytes (GB), that's available on the Exadata infrastructure. AttrMaxDbNodeStorageSizeInGBs() *float64 // The total amount of memory, in gigabytes (GB), that's available on the Exadata infrastructure. AttrMaxMemoryInGBs() *float64 // The amount of memory, in gigabytes (GB), that's allocated on the Exadata infrastructure. AttrMemorySizeInGBs() *float64 // The OCID of the Exadata infrastructure. AttrOcid() *string // The name of the OCI resource anchor for the Exadata infrastructure. AttrOciResourceAnchorName() *string // The HTTPS link to the Exadata infrastructure in OCI. AttrOciUrl() *string // The software version of the storage servers on the Exadata infrastructure. AttrStorageServerVersion() *string // The total amount of storage, in gigabytes (GB), on the the Exadata infrastructure. AttrTotalStorageSizeInGBs() *float64 // The name of the Availability Zone (AZ) where the Exadata infrastructure is located. AvailabilityZone() *string SetAvailabilityZone(val *string) // The AZ ID of the AZ where the Exadata infrastructure is located. AvailabilityZoneId() *string SetAvailabilityZoneId(val *string) // Tag Manager which manages the tags for this resource. CdkTagManager() awscdk.TagManager // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // The number of database servers for the Exadata infrastructure. ComputeCount() *float64 SetComputeCount(val *float64) // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The email addresses of contacts to receive notification from Oracle about maintenance updates for the Exadata infrastructure. CustomerContactsToSendToOci() interface{} SetCustomerContactsToSendToOci(val interface{}) // The database server model type of the Exadata infrastructure. DatabaseServerType() *string SetDatabaseServerType(val *string) // The user-friendly name for the Exadata infrastructure. DisplayName() *string SetDisplayName(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The tree node. Node() constructs.Node // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The model name of the Exadata infrastructure. Shape() *string SetShape(val *string) // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // The number of storage servers that are activated for the Exadata infrastructure. StorageCount() *float64 SetStorageCount(val *float64) // The storage server model type of the Exadata infrastructure. StorageServerType() *string SetStorageServerType(val *string) // Tags to assign to the Exadata Infrastructure. Tags() *[]*awscdk.CfnTag SetTags(val *[]*awscdk.CfnTag) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
The `AWS::ODB::CloudExadataInfrastructure` resource creates an Exadata infrastructure.
An Exadata infrastructure provides the underlying compute and storage resources for Oracle Database workloads.
Example:
// 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" cfnCloudExadataInfrastructure := awscdk.Aws_odb.NewCfnCloudExadataInfrastructure(this, jsii.String("MyCfnCloudExadataInfrastructure"), &CfnCloudExadataInfrastructureProps{ AvailabilityZone: jsii.String("availabilityZone"), AvailabilityZoneId: jsii.String("availabilityZoneId"), ComputeCount: jsii.Number(123), CustomerContactsToSendToOci: []interface{}{ &CustomerContactProperty{ Email: jsii.String("email"), }, }, DatabaseServerType: jsii.String("databaseServerType"), DisplayName: jsii.String("displayName"), Shape: jsii.String("shape"), StorageCount: jsii.Number(123), StorageServerType: jsii.String("storageServerType"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
func NewCfnCloudExadataInfrastructure ¶
func NewCfnCloudExadataInfrastructure(scope constructs.Construct, id *string, props *CfnCloudExadataInfrastructureProps) CfnCloudExadataInfrastructure
type CfnCloudExadataInfrastructureProps ¶
type CfnCloudExadataInfrastructureProps struct { // The name of the Availability Zone (AZ) where the Exadata infrastructure is located. // // Required when creating an Exadata infrastructure. Specify either AvailabilityZone or AvailabilityZoneId to define the location of the infrastructure. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudexadatainfrastructure.html#cfn-odb-cloudexadatainfrastructure-availabilityzone // AvailabilityZone *string `field:"optional" json:"availabilityZone" yaml:"availabilityZone"` // The AZ ID of the AZ where the Exadata infrastructure is located. // // Required when creating an Exadata infrastructure. Specify either AvailabilityZone or AvailabilityZoneId to define the location of the infrastructure. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudexadatainfrastructure.html#cfn-odb-cloudexadatainfrastructure-availabilityzoneid // AvailabilityZoneId *string `field:"optional" json:"availabilityZoneId" yaml:"availabilityZoneId"` // The number of database servers for the Exadata infrastructure. // // Required when creating an Exadata infrastructure. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudexadatainfrastructure.html#cfn-odb-cloudexadatainfrastructure-computecount // ComputeCount *float64 `field:"optional" json:"computeCount" yaml:"computeCount"` // The email addresses of contacts to receive notification from Oracle about maintenance updates for the Exadata infrastructure. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudexadatainfrastructure.html#cfn-odb-cloudexadatainfrastructure-customercontactstosendtooci // CustomerContactsToSendToOci interface{} `field:"optional" json:"customerContactsToSendToOci" yaml:"customerContactsToSendToOci"` // The database server model type of the Exadata infrastructure. // // For the list of valid model names, use the `ListDbSystemShapes` operation. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudexadatainfrastructure.html#cfn-odb-cloudexadatainfrastructure-databaseservertype // DatabaseServerType *string `field:"optional" json:"databaseServerType" yaml:"databaseServerType"` // The user-friendly name for the Exadata infrastructure. // // Required when creating an Exadata infrastructure. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudexadatainfrastructure.html#cfn-odb-cloudexadatainfrastructure-displayname // DisplayName *string `field:"optional" json:"displayName" yaml:"displayName"` // The model name of the Exadata infrastructure. // // Required when creating an Exadata infrastructure. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudexadatainfrastructure.html#cfn-odb-cloudexadatainfrastructure-shape // Shape *string `field:"optional" json:"shape" yaml:"shape"` // The number of storage servers that are activated for the Exadata infrastructure. // // Required when creating an Exadata infrastructure. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudexadatainfrastructure.html#cfn-odb-cloudexadatainfrastructure-storagecount // StorageCount *float64 `field:"optional" json:"storageCount" yaml:"storageCount"` // The storage server model type of the Exadata infrastructure. // // For the list of valid model names, use the `ListDbSystemShapes` operation. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudexadatainfrastructure.html#cfn-odb-cloudexadatainfrastructure-storageservertype // StorageServerType *string `field:"optional" json:"storageServerType" yaml:"storageServerType"` // Tags to assign to the Exadata Infrastructure. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudexadatainfrastructure.html#cfn-odb-cloudexadatainfrastructure-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnCloudExadataInfrastructure`.
Example:
// 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" cfnCloudExadataInfrastructureProps := &CfnCloudExadataInfrastructureProps{ AvailabilityZone: jsii.String("availabilityZone"), AvailabilityZoneId: jsii.String("availabilityZoneId"), ComputeCount: jsii.Number(123), CustomerContactsToSendToOci: []interface{}{ &CustomerContactProperty{ Email: jsii.String("email"), }, }, DatabaseServerType: jsii.String("databaseServerType"), DisplayName: jsii.String("displayName"), Shape: jsii.String("shape"), StorageCount: jsii.Number(123), StorageServerType: jsii.String("storageServerType"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
type CfnCloudExadataInfrastructure_CustomerContactProperty ¶
type CfnCloudExadataInfrastructure_CustomerContactProperty struct { // The email address of the contact. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudexadatainfrastructure-customercontact.html#cfn-odb-cloudexadatainfrastructure-customercontact-email // Email *string `field:"optional" json:"email" yaml:"email"` }
A contact to receive notification from Oracle about maintenance updates for a specific Exadata infrastructure.
Example:
// 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" customerContactProperty := &CustomerContactProperty{ Email: jsii.String("email"), }
type CfnCloudVmCluster ¶
type CfnCloudVmCluster interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggableV2 // The Amazon Resource Name (ARN) of the VM cluster. AttrCloudVmClusterArn() *string // The unique identifier of the VM cluster. AttrCloudVmClusterId() *string // The OCI model compute model used when you create or clone an instance: ECPU or OCPU. // // An ECPU is an abstracted measure of compute resources. ECPUs are based on the number of cores elastically allocated from a pool of compute and storage servers. An OCPU is a legacy physical measure of compute resources. OCPUs are based on the physical core of a processor with hyper-threading enabled. AttrComputeModel() *string // The type of redundancy configured for the VM cluster. // // `NORMAL` is 2-way redundancy. `HIGH` is 3-way redundancy. AttrDiskRedundancy() *string // The domain of the VM cluster. AttrDomain() *string // The port number configured for the listener on the VM cluster. AttrListenerPort() *float64 // The number of nodes in the VM cluster. AttrNodeCount() *float64 // The OCID of the VM cluster. AttrOcid() *string // The name of the OCI resource anchor for the VM cluster. AttrOciResourceAnchorName() *string // The HTTPS link to the VM cluster in OCI. AttrOciUrl() *string // The FQDN of the DNS record for the Single Client Access Name (SCAN) IP addresses that are associated with the VM cluster. AttrScanDnsName() *string // The OCID of the SCAN IP addresses that are associated with the VM cluster. AttrScanIpIds() *[]*string // The hardware model name of the Exadata infrastructure that's running the VM cluster. AttrShape() *string // The amount of local node storage, in gigabytes (GB), that's allocated to the VM cluster. AttrStorageSizeInGBs() *float64 // The virtual IP (VIP) addresses that are associated with the VM cluster. // // Oracle's Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the VM cluster to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. AttrVipIds() *[]*string // Tag Manager which manages the tags for this resource. CdkTagManager() awscdk.TagManager // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // The unique identifier of the Exadata infrastructure that this VM cluster belongs to. CloudExadataInfrastructureId() *string SetCloudExadataInfrastructureId(val *string) // The name of the Grid Infrastructure (GI) cluster. ClusterName() *string SetClusterName(val *string) // The number of CPU cores enabled on the VM cluster. CpuCoreCount() *float64 SetCpuCoreCount(val *float64) // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The set of diagnostic collection options enabled for the VM cluster. DataCollectionOptions() interface{} SetDataCollectionOptions(val interface{}) // The size of the data disk group, in terabytes (TB), that's allocated for the VM cluster. DataStorageSizeInTBs() *float64 SetDataStorageSizeInTBs(val *float64) // The amount of local node storage, in gigabytes (GB), that's allocated for the VM cluster. DbNodeStorageSizeInGBs() *float64 SetDbNodeStorageSizeInGBs(val *float64) // The list of database servers for the VM cluster. DbServers() *[]*string SetDbServers(val *[]*string) // The user-friendly name for the VM cluster. DisplayName() *string SetDisplayName(val *string) // The software version of the Oracle Grid Infrastructure (GI) for the VM cluster. GiVersion() *string SetGiVersion(val *string) // The host name for the VM cluster. Hostname() *string SetHostname(val *string) // Specifies whether database backups to local Exadata storage are enabled for the VM cluster. IsLocalBackupEnabled() interface{} SetIsLocalBackupEnabled(val interface{}) // Specifies whether the VM cluster is configured with a sparse disk group. IsSparseDiskgroupEnabled() interface{} SetIsSparseDiskgroupEnabled(val interface{}) // The Oracle license model applied to the VM cluster. LicenseModel() *string SetLicenseModel(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The amount of memory, in gigabytes (GB), that's allocated for the VM cluster. MemorySizeInGBs() *float64 SetMemorySizeInGBs(val *float64) // The tree node. Node() constructs.Node // The unique identifier of the ODB network for the VM cluster. OdbNetworkId() *string SetOdbNetworkId(val *string) // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The port number for TCP connections to the single client access name (SCAN) listener. ScanListenerPortTcp() *float64 SetScanListenerPortTcp(val *float64) // The public key portion of one or more key pairs used for SSH access to the VM cluster. SshPublicKeys() *[]*string SetSshPublicKeys(val *[]*string) // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // The operating system version of the image chosen for the VM cluster. SystemVersion() *string SetSystemVersion(val *string) // Tags to assign to the Vm Cluster. Tags() *[]*awscdk.CfnTag SetTags(val *[]*awscdk.CfnTag) // The time zone of the VM cluster. TimeZone() *string SetTimeZone(val *string) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
The `AWS::ODB::CloudVmCluster` resource creates a VM cluster on the specified Exadata infrastructure in the Oracle Database.
A VM cluster provides the compute resources for Oracle Database workloads.
Example:
// 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" cfnCloudVmCluster := awscdk.Aws_odb.NewCfnCloudVmCluster(this, jsii.String("MyCfnCloudVmCluster"), &CfnCloudVmClusterProps{ CloudExadataInfrastructureId: jsii.String("cloudExadataInfrastructureId"), ClusterName: jsii.String("clusterName"), CpuCoreCount: jsii.Number(123), DataCollectionOptions: &DataCollectionOptionsProperty{ IsDiagnosticsEventsEnabled: jsii.Boolean(false), IsHealthMonitoringEnabled: jsii.Boolean(false), IsIncidentLogsEnabled: jsii.Boolean(false), }, DataStorageSizeInTBs: jsii.Number(123), DbNodeStorageSizeInGBs: jsii.Number(123), DbServers: []*string{ jsii.String("dbServers"), }, DisplayName: jsii.String("displayName"), GiVersion: jsii.String("giVersion"), Hostname: jsii.String("hostname"), IsLocalBackupEnabled: jsii.Boolean(false), IsSparseDiskgroupEnabled: jsii.Boolean(false), LicenseModel: jsii.String("licenseModel"), MemorySizeInGBs: jsii.Number(123), OdbNetworkId: jsii.String("odbNetworkId"), ScanListenerPortTcp: jsii.Number(123), SshPublicKeys: []*string{ jsii.String("sshPublicKeys"), }, SystemVersion: jsii.String("systemVersion"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, TimeZone: jsii.String("timeZone"), })
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudvmcluster.html
func NewCfnCloudVmCluster ¶
func NewCfnCloudVmCluster(scope constructs.Construct, id *string, props *CfnCloudVmClusterProps) CfnCloudVmCluster
type CfnCloudVmClusterProps ¶
type CfnCloudVmClusterProps struct { // The unique identifier of the Exadata infrastructure that this VM cluster belongs to. // // Required when creating a VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudvmcluster.html#cfn-odb-cloudvmcluster-cloudexadatainfrastructureid // CloudExadataInfrastructureId *string `field:"optional" json:"cloudExadataInfrastructureId" yaml:"cloudExadataInfrastructureId"` // The name of the Grid Infrastructure (GI) cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudvmcluster.html#cfn-odb-cloudvmcluster-clustername // ClusterName *string `field:"optional" json:"clusterName" yaml:"clusterName"` // The number of CPU cores enabled on the VM cluster. // // Required when creating a VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudvmcluster.html#cfn-odb-cloudvmcluster-cpucorecount // CpuCoreCount *float64 `field:"optional" json:"cpuCoreCount" yaml:"cpuCoreCount"` // The set of diagnostic collection options enabled for the VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudvmcluster.html#cfn-odb-cloudvmcluster-datacollectionoptions // DataCollectionOptions interface{} `field:"optional" json:"dataCollectionOptions" yaml:"dataCollectionOptions"` // The size of the data disk group, in terabytes (TB), that's allocated for the VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudvmcluster.html#cfn-odb-cloudvmcluster-datastoragesizeintbs // DataStorageSizeInTBs *float64 `field:"optional" json:"dataStorageSizeInTBs" yaml:"dataStorageSizeInTBs"` // The amount of local node storage, in gigabytes (GB), that's allocated for the VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudvmcluster.html#cfn-odb-cloudvmcluster-dbnodestoragesizeingbs // DbNodeStorageSizeInGBs *float64 `field:"optional" json:"dbNodeStorageSizeInGBs" yaml:"dbNodeStorageSizeInGBs"` // The list of database servers for the VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudvmcluster.html#cfn-odb-cloudvmcluster-dbservers // DbServers *[]*string `field:"optional" json:"dbServers" yaml:"dbServers"` // The user-friendly name for the VM cluster. // // Required when creating a VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudvmcluster.html#cfn-odb-cloudvmcluster-displayname // DisplayName *string `field:"optional" json:"displayName" yaml:"displayName"` // The software version of the Oracle Grid Infrastructure (GI) for the VM cluster. // // Required when creating a VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudvmcluster.html#cfn-odb-cloudvmcluster-giversion // GiVersion *string `field:"optional" json:"giVersion" yaml:"giVersion"` // The host name for the VM cluster. // // Required when creating a VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudvmcluster.html#cfn-odb-cloudvmcluster-hostname // Hostname *string `field:"optional" json:"hostname" yaml:"hostname"` // Specifies whether database backups to local Exadata storage are enabled for the VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudvmcluster.html#cfn-odb-cloudvmcluster-islocalbackupenabled // IsLocalBackupEnabled interface{} `field:"optional" json:"isLocalBackupEnabled" yaml:"isLocalBackupEnabled"` // Specifies whether the VM cluster is configured with a sparse disk group. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudvmcluster.html#cfn-odb-cloudvmcluster-issparsediskgroupenabled // IsSparseDiskgroupEnabled interface{} `field:"optional" json:"isSparseDiskgroupEnabled" yaml:"isSparseDiskgroupEnabled"` // The Oracle license model applied to the VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudvmcluster.html#cfn-odb-cloudvmcluster-licensemodel // LicenseModel *string `field:"optional" json:"licenseModel" yaml:"licenseModel"` // The amount of memory, in gigabytes (GB), that's allocated for the VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudvmcluster.html#cfn-odb-cloudvmcluster-memorysizeingbs // MemorySizeInGBs *float64 `field:"optional" json:"memorySizeInGBs" yaml:"memorySizeInGBs"` // The unique identifier of the ODB network for the VM cluster. // // Required when creating a VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudvmcluster.html#cfn-odb-cloudvmcluster-odbnetworkid // OdbNetworkId *string `field:"optional" json:"odbNetworkId" yaml:"odbNetworkId"` // The port number for TCP connections to the single client access name (SCAN) listener. // // Valid values: `1024–8999` with the following exceptions: `2484` , `6100` , `6200` , `7060` , `7070` , `7085` , and `7879` // // Default: `1521`. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudvmcluster.html#cfn-odb-cloudvmcluster-scanlistenerporttcp // ScanListenerPortTcp *float64 `field:"optional" json:"scanListenerPortTcp" yaml:"scanListenerPortTcp"` // The public key portion of one or more key pairs used for SSH access to the VM cluster. // // Required when creating a VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudvmcluster.html#cfn-odb-cloudvmcluster-sshpublickeys // SshPublicKeys *[]*string `field:"optional" json:"sshPublicKeys" yaml:"sshPublicKeys"` // The operating system version of the image chosen for the VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudvmcluster.html#cfn-odb-cloudvmcluster-systemversion // SystemVersion *string `field:"optional" json:"systemVersion" yaml:"systemVersion"` // Tags to assign to the Vm Cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudvmcluster.html#cfn-odb-cloudvmcluster-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` // The time zone of the VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudvmcluster.html#cfn-odb-cloudvmcluster-timezone // TimeZone *string `field:"optional" json:"timeZone" yaml:"timeZone"` }
Properties for defining a `CfnCloudVmCluster`.
Example:
// 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" cfnCloudVmClusterProps := &CfnCloudVmClusterProps{ CloudExadataInfrastructureId: jsii.String("cloudExadataInfrastructureId"), ClusterName: jsii.String("clusterName"), CpuCoreCount: jsii.Number(123), DataCollectionOptions: &DataCollectionOptionsProperty{ IsDiagnosticsEventsEnabled: jsii.Boolean(false), IsHealthMonitoringEnabled: jsii.Boolean(false), IsIncidentLogsEnabled: jsii.Boolean(false), }, DataStorageSizeInTBs: jsii.Number(123), DbNodeStorageSizeInGBs: jsii.Number(123), DbServers: []*string{ jsii.String("dbServers"), }, DisplayName: jsii.String("displayName"), GiVersion: jsii.String("giVersion"), Hostname: jsii.String("hostname"), IsLocalBackupEnabled: jsii.Boolean(false), IsSparseDiskgroupEnabled: jsii.Boolean(false), LicenseModel: jsii.String("licenseModel"), MemorySizeInGBs: jsii.Number(123), OdbNetworkId: jsii.String("odbNetworkId"), ScanListenerPortTcp: jsii.Number(123), SshPublicKeys: []*string{ jsii.String("sshPublicKeys"), }, SystemVersion: jsii.String("systemVersion"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, TimeZone: jsii.String("timeZone"), }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudvmcluster.html
type CfnCloudVmCluster_DataCollectionOptionsProperty ¶
type CfnCloudVmCluster_DataCollectionOptionsProperty struct { // Specifies whether diagnostic collection is enabled for the VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudvmcluster-datacollectionoptions.html#cfn-odb-cloudvmcluster-datacollectionoptions-isdiagnosticseventsenabled // IsDiagnosticsEventsEnabled interface{} `field:"optional" json:"isDiagnosticsEventsEnabled" yaml:"isDiagnosticsEventsEnabled"` // Specifies whether health monitoring is enabled for the VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudvmcluster-datacollectionoptions.html#cfn-odb-cloudvmcluster-datacollectionoptions-ishealthmonitoringenabled // IsHealthMonitoringEnabled interface{} `field:"optional" json:"isHealthMonitoringEnabled" yaml:"isHealthMonitoringEnabled"` // Specifies whether incident logs are enabled for the VM cluster. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-odb-cloudvmcluster-datacollectionoptions.html#cfn-odb-cloudvmcluster-datacollectionoptions-isincidentlogsenabled // IsIncidentLogsEnabled interface{} `field:"optional" json:"isIncidentLogsEnabled" yaml:"isIncidentLogsEnabled"` }
Information about the data collection options enabled for a VM cluster.
Example:
// 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" dataCollectionOptionsProperty := &DataCollectionOptionsProperty{ IsDiagnosticsEventsEnabled: jsii.Boolean(false), IsHealthMonitoringEnabled: jsii.Boolean(false), IsIncidentLogsEnabled: jsii.Boolean(false), }
type CfnOdbNetwork ¶
type CfnOdbNetwork interface { awscdk.CfnResource awscdk.IInspectable awscdk.ITaggableV2 // The unique identifier of the OCI network anchor for the ODB network. AttrOciNetworkAnchorId() *string // The name of the OCI resource anchor that's associated with the ODB network. AttrOciResourceAnchorName() *string // The URL for the VCN that's associated with the ODB network. AttrOciVcnUrl() *string // The Amazon Resource Name (ARN) of the ODB network. AttrOdbNetworkArn() *string // The unique identifier of the ODB network. AttrOdbNetworkId() *string // The Availability Zone (AZ) where the ODB network is located. AvailabilityZone() *string SetAvailabilityZone(val *string) // The AZ ID of the AZ where the ODB network is located. AvailabilityZoneId() *string SetAvailabilityZoneId(val *string) // The CIDR range of the backup subnet in the ODB network. BackupSubnetCidr() *string SetBackupSubnetCidr(val *string) // Tag Manager which manages the tags for this resource. CdkTagManager() awscdk.TagManager // Options for this resource, such as condition, update policy etc. CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} // AWS resource type. CfnResourceType() *string // The CIDR range of the client subnet in the ODB network. ClientSubnetCidr() *string SetClientSubnetCidr(val *string) // Returns: the stack trace of the point where this Resource was created from, sourced // from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most // node +internal+ entries filtered. CreationStack() *[]*string // The DNS prefix to the default DNS domain name. DefaultDnsPrefix() *string SetDefaultDnsPrefix(val *string) // Specifies whether to delete associated OCI networking resources along with the ODB network. DeleteAssociatedResources() interface{} SetDeleteAssociatedResources(val interface{}) // The user-friendly name of the ODB network. DisplayName() *string SetDisplayName(val *string) // The logical ID for this CloudFormation stack element. // // The logical ID of the element // is calculated from the path of the resource node in the construct tree. // // To override this value, use `overrideLogicalId(newLogicalId)`. // // Returns: the logical ID as a stringified token. This value will only get // resolved during synthesis. LogicalId() *string // The tree node. Node() constructs.Node // Return a string that will be resolved to a CloudFormation `{ Ref }` for this element. // // If, by any chance, the intrinsic reference of a resource is not a string, you could // coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`. Ref() *string // The stack in which this element is defined. // // CfnElements must be defined within a stack scope (directly or indirectly). Stack() awscdk.Stack // Tags to assign to the Odb Network. Tags() *[]*awscdk.CfnTag SetTags(val *[]*awscdk.CfnTag) // Deprecated. // Deprecated: use `updatedProperties` // // Return properties modified after initiation // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperites() *map[string]interface{} // Return properties modified after initiation. // // Resources that expose mutable properties should override this function to // collect and return the properties object for this resource. UpdatedProperties() *map[string]interface{} // Syntactic sugar for `addOverride(path, undefined)`. AddDeletionOverride(path *string) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // // This can be used for resources across stacks (or nested stack) boundaries // and the dependency will automatically be transferred to the relevant scope. AddDependency(target awscdk.CfnResource) // Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned. // Deprecated: use addDependency. AddDependsOn(target awscdk.CfnResource) // Add a value to the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // AddMetadata(key *string, value interface{}) // Adds an override to the synthesized CloudFormation resource. // // To add a // property override, either use `addPropertyOverride` or prefix `path` with // "Properties." (i.e. `Properties.TopicName`). // // If the override is nested, separate each nested level using a dot (.) in the path parameter. // If there is an array as part of the nesting, specify the index in the path. // // To include a literal `.` in the property name, prefix with a `\`. In most // programming languages you will need to write this as `"\\."` because the // `\` itself will need to be escaped. // // For example, // “`typescript // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']); // cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE'); // “` // would add the overrides // “`json // "Properties": { // "GlobalSecondaryIndexes": [ // { // "Projection": { // "NonKeyAttributes": [ "myattribute" ] // ... // } // ... // }, // { // "ProjectionType": "INCLUDE" // ... // }, // ] // ... // } // “` // // The `value` argument to `addOverride` will not be processed or translated // in any way. Pass raw JSON values in here with the correct capitalization // for CloudFormation. If you pass CDK classes or structs, they will be // rendered with lowercased key names, and CloudFormation will reject the // template. AddOverride(path *string, value interface{}) // Adds an override that deletes the value of a property from the resource definition. AddPropertyDeletionOverride(propertyPath *string) // Adds an override to a resource property. // // Syntactic sugar for `addOverride("Properties.<...>", value)`. AddPropertyOverride(propertyPath *string, value interface{}) // Sets the deletion policy of the resource based on the removal policy specified. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some // cases, a snapshot can be taken of the resource prior to deletion // (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy // can be found in the following link:. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options // ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) // Returns a token for an runtime attribute of this resource. // // Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility // in case there is no generated attribute. GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference // Retrieve a value value from the CloudFormation Resource Metadata. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html // // Note that this is a different set of metadata from CDK node metadata; this // metadata ends up in the stack template under the resource, whereas CDK // node metadata ends up in the Cloud Assembly. // GetMetadata(key *string) interface{} // Examines the CloudFormation resource and discloses attributes. Inspect(inspector awscdk.TreeInspector) // Retrieves an array of resources this resource depends on. // // This assembles dependencies on resources across stacks (including nested stacks) // automatically. ObtainDependencies() *[]interface{} // Get a shallow copy of dependencies between this resource and other resources in the same stack. ObtainResourceDependencies() *[]awscdk.CfnResource // Overrides the auto-generated logical ID with a specific ID. OverrideLogicalId(newLogicalId *string) // Indicates that this resource no longer depends on another resource. // // This can be used for resources across stacks (including nested stacks) // and the dependency will automatically be removed from the relevant scope. RemoveDependency(target awscdk.CfnResource) RenderProperties(props *map[string]interface{}) *map[string]interface{} // Replaces one dependency with another. ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource) // Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template. // // Returns: `true` if the resource should be included or `false` is the resource // should be omitted. ShouldSynthesize() *bool // Returns a string representation of this construct. // // Returns: a string representation of this resource. ToString() *string ValidateProperties(_properties interface{}) }
The `AWS::ODB::OdbNetwork` resource creates an ODB network.
An ODB network provides the networking foundation for Oracle Database resources.
Example:
// 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" cfnOdbNetwork := awscdk.Aws_odb.NewCfnOdbNetwork(this, jsii.String("MyCfnOdbNetwork"), &CfnOdbNetworkProps{ AvailabilityZone: jsii.String("availabilityZone"), AvailabilityZoneId: jsii.String("availabilityZoneId"), BackupSubnetCidr: jsii.String("backupSubnetCidr"), ClientSubnetCidr: jsii.String("clientSubnetCidr"), DefaultDnsPrefix: jsii.String("defaultDnsPrefix"), DeleteAssociatedResources: jsii.Boolean(false), DisplayName: jsii.String("displayName"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-odbnetwork.html
func NewCfnOdbNetwork ¶
func NewCfnOdbNetwork(scope constructs.Construct, id *string, props *CfnOdbNetworkProps) CfnOdbNetwork
type CfnOdbNetworkProps ¶
type CfnOdbNetworkProps struct { // The Availability Zone (AZ) where the ODB network is located. // // Required when creating an ODB network. Specify either AvailabilityZone or AvailabilityZoneId to define the location of the network. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-odbnetwork.html#cfn-odb-odbnetwork-availabilityzone // AvailabilityZone *string `field:"optional" json:"availabilityZone" yaml:"availabilityZone"` // The AZ ID of the AZ where the ODB network is located. // // Required when creating an ODB network. Specify either AvailabilityZone or AvailabilityZoneId to define the location of the network. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-odbnetwork.html#cfn-odb-odbnetwork-availabilityzoneid // AvailabilityZoneId *string `field:"optional" json:"availabilityZoneId" yaml:"availabilityZoneId"` // The CIDR range of the backup subnet in the ODB network. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-odbnetwork.html#cfn-odb-odbnetwork-backupsubnetcidr // BackupSubnetCidr *string `field:"optional" json:"backupSubnetCidr" yaml:"backupSubnetCidr"` // The CIDR range of the client subnet in the ODB network. // // Required when creating an ODB network. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-odbnetwork.html#cfn-odb-odbnetwork-clientsubnetcidr // ClientSubnetCidr *string `field:"optional" json:"clientSubnetCidr" yaml:"clientSubnetCidr"` // The DNS prefix to the default DNS domain name. // // The default DNS domain name is oraclevcn.com. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-odbnetwork.html#cfn-odb-odbnetwork-defaultdnsprefix // DefaultDnsPrefix *string `field:"optional" json:"defaultDnsPrefix" yaml:"defaultDnsPrefix"` // Specifies whether to delete associated OCI networking resources along with the ODB network. // // Required when creating an ODB network. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-odbnetwork.html#cfn-odb-odbnetwork-deleteassociatedresources // DeleteAssociatedResources interface{} `field:"optional" json:"deleteAssociatedResources" yaml:"deleteAssociatedResources"` // The user-friendly name of the ODB network. // // Required when creating an ODB network. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-odbnetwork.html#cfn-odb-odbnetwork-displayname // DisplayName *string `field:"optional" json:"displayName" yaml:"displayName"` // Tags to assign to the Odb Network. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-odbnetwork.html#cfn-odb-odbnetwork-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }
Properties for defining a `CfnOdbNetwork`.
Example:
// 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" cfnOdbNetworkProps := &CfnOdbNetworkProps{ AvailabilityZone: jsii.String("availabilityZone"), AvailabilityZoneId: jsii.String("availabilityZoneId"), BackupSubnetCidr: jsii.String("backupSubnetCidr"), ClientSubnetCidr: jsii.String("clientSubnetCidr"), DefaultDnsPrefix: jsii.String("defaultDnsPrefix"), DeleteAssociatedResources: jsii.Boolean(false), DisplayName: jsii.String("displayName"), Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-odbnetwork.html
Source Files
¶
- CfnCloudAutonomousVmCluster.go
- CfnCloudAutonomousVmClusterProps.go
- CfnCloudAutonomousVmCluster_MaintenanceWindowProperty.go
- CfnCloudAutonomousVmCluster__checks.go
- CfnCloudExadataInfrastructure.go
- CfnCloudExadataInfrastructureProps.go
- CfnCloudExadataInfrastructure_CustomerContactProperty.go
- CfnCloudExadataInfrastructure__checks.go
- CfnCloudVmCluster.go
- CfnCloudVmClusterProps.go
- CfnCloudVmCluster_DataCollectionOptionsProperty.go
- CfnCloudVmCluster__checks.go
- CfnOdbNetwork.go
- CfnOdbNetworkProps.go
- CfnOdbNetwork__checks.go
- main.go